Trinomial Mod
trinomial_modT(n) modulo m. T(5) mod 10 is 1, T(6) mod 100 is 41, and T(4) mod 5 is 4. n runs from 0 to 30 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/trinomial-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": "trinomial_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| m | Yes | ||
| n | Yes |