Duffinian Sum
duffinian_sumThe sum of the Duffinian numbers that are at most n. Through 4 it is 4, through 9 it is 21, through 20 it is 37, and through 30 it is 110. n runs from 1 to 5000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/duffinian-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": "duffinian_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |