Odd Square Sum
odd_square_sumThe sum of the first n odd squares: 1^2 + 3^2 + ... + (2n-1)^2 = n(4n^2-1)/3. One term is 1, two terms are 10, and four terms are 84. n runs from 0 to 1000000. Past 15 digits the value is a decimal string. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/odd-square-sum
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"n": "<n>"
},
"name": "odd_square_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |