Squarefree Count
squarefree_countHow many square-free positive integers are at most n. Through 1 there is 1, through 4 there are 3, through 10 there are 7, and through 20 there are 13. n runs from 1 to 20000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/squarefree-count
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": "squarefree_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |