math_prime_number_checker
Test if a number is prime using trial division and Miller-Rabin, list primes in a range with the Sieve of Eratosthenes, and find the next or previous prime.
Instructions
Menu ID: prime_number_checker. Prime Number Checker. Test if a number is prime using trial division and deterministic Miller-Rabin, list every prime in a range with the Sieve of Eratosthenes, and find the next or previous prime. Use describe_tool with tool_id "prime_number_checker" for full page guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| n | Yes |