carmichael_number_test
Test whether an integer is a Carmichael number, which is a composite number that passes the Fermat primality test for all bases. This tool helps identify these special pseudoprimes in number theory.
Instructions
Test if a number is a Carmichael number (pseudoprime to all bases). (Domain: arithmetic, Category: advanced_primality)
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": "carmichael_number_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |