sieve_of_sundaram
Find odd prime numbers up to a specified limit using the Sieve of Sundaram algorithm, which eliminates composite numbers based on mathematical patterns.
Instructions
Sieve of Sundaram - finds odd primes by eliminating specific composite patterns. (Domain: arithmetic, Category: sieve_algorithms)
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": "sieve_of_sundaram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes |