Cube Ways
cube_waysHow many ways n is a sum of positive cubes, ignoring order and allowing repeats. 0 has 1 empty sum, 2 has 1, 8 has 2, and 16 has 3. n runs from 0 to 2000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/cube-ways
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": "cube_ways"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |