miller_rabin_test
Test if a number is prime with a deterministic Miller-Rabin primality check using multiple witnesses, for values up to 10^18.
Instructions
Test whether a number is prime using the deterministic Miller-Rabin primality test with multiple witnesses.
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": {
"number": "<number>"
},
"name": "miller_rabin_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The number to test for primality (up to 10^18) |