Kurepa Mod
kurepa_modK(n) mod m for the Kurepa function, the sum of k! from 0 through n-1. The modulus is a positive decimal integer, and zero is rejected. n runs from 1 to 200. The residue is smaller than the modulus. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kurepa-mod
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>",
"mod": "<mod>"
},
"name": "kurepa_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| mod | Yes |