Cototient
cototientThe cototient n - totient(n): how many integers from 1 to n share a factor with n. 1 gives 0, 6 gives 4, 9 gives 3, and 10 gives 6. n runs from 1 to 100000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/cototient
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": "cototient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |