centered_polygonal_number
Calculate the nth centered polygonal number for any given number of sides (s) to solve figurate number problems in arithmetic.
Instructions
Calculate the nth centered s-gonal number. (Domain: arithmetic, Category: figurate_numbers)
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>",
"s": "<s>"
},
"name": "centered_polygonal_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| s | Yes |