Digit Power Sum
digit_power_sumThe sum of the digits of n each raised to k. 0 to any k from 1 up is 0. 153 to the 3 is 153. 4150 to the 5 is 4150, and 4150 to the 4 is 882. n runs from 0 to 999999999999999 and k runs from 1 to 15. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/digit-power-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>",
"k": "<k>"
},
"name": "digit_power_sum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | ||
| n | Yes |