Kurepa
kurepaThe Kurepa function K(n), the sum of k! for k from 0 through n-1. K(1) is 1, K(2) is 2, and K(5) is 34. This is the left factorial, not the subfactorial. n runs from 1 to 200. Past 15 digits the value is a decimal string. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/kurepa
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": "kurepa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |