Visible Points
visible_pointsHow many lattice points (x, y) with 1 <= x,y <= n are visible from the origin, meaning gcd(x, y) = 1. The 1-square has 1, the 2-square has 3, and the 5-square has 19. 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/visible-points
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": "visible_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |