Octahedral Mod
octahedral_modThe nth octahedral number modulo m. O(4) mod 10 is 4, O(5) mod 7 is 1, and O(6) mod 10 is 6. n runs from 1 to 100000 and m runs from 1 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/octahedral-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>",
"m": "<m>"
},
"name": "octahedral_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| m | Yes | ||
| n | Yes |