perfect_numbers_up_to
Find all perfect numbers up to a specified limit using the Euclid-Euler theorem. This tool calculates numbers equal to the sum of their proper divisors.
Instructions
Find all perfect numbers up to limit using Euclid-Euler theorem. (Domain: arithmetic, Category: arithmetic_functions)
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": {
"limit": "<limit>"
},
"name": "perfect_numbers_up_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes |