sum_of_four_squares
Express any integer as the sum of four square numbers using Lagrange's theorem to solve additive number theory problems.
Instructions
Express a number as sum of four squares (Lagrange's theorem). (Domain: arithmetic, Category: additive_number_theory)
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": "sum_of_four_squares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |