Factoradic Digit
factoradic_digitThe digit of the k! place of n. It is floor(n / k!) mod (k+1), and it is 0 when k! exceeds n. The 0! digit is always 0. For 463 the 5! digit is 3 and the 4! digit is 4. k runs from 0 to 20. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/factoradic-digit
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": "factoradic_digit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | ||
| n | Yes |