Kaprekar
kaprekarWhether n is a Kaprekar number. Split n^2 so the right part has as many digits as n; the two parts add to n, and the right part is not 0. 1, 9, 45, 297, and 9999 are. 10 is not. n runs from 1 to 10000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kaprekar
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": "kaprekar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |