Centered Polygonal
centered_polygonalThe nth centered s-gonal number, sn(n-1)/2 + 1. Centered triangular 4 is 19, centered square 2 is 5, and centered hexagonal 3 is 19. s runs from 3 to 20 and n 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/centered-polygonal
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": {
"s": "<s>",
"n": "<n>"
},
"name": "centered_polygonal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| s | Yes |