Two Cubes
two_cubesHow many ways n is a sum of two positive cubes, ignoring order and allowing the two cubes to be equal. 2 has 1, 9 has 1, 91 has 1, and 1729 has 2. n runs from 0 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/two-cubes
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": "two_cubes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |