is_carmichael_number
Determine whether a given integer is a Carmichael number, which is a composite number that satisfies Fermat's primality test for all bases coprime to it. This tool helps identify these special pseudoprimes in number theory.
Instructions
Check if n is a Carmichael number (absolute Fermat pseudoprime). (Domain: arithmetic, Category: pseudoprimes)
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": "is_carmichael_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |