carmichael_lambda
Calculate the Carmichael function λ(n) to determine the exponent of the multiplicative group modulo n for number theory applications.
Instructions
Calculate the Carmichael function λ(n) - exponent of multiplicative group mod n. (Domain: arithmetic, Category: arithmetic_functions)
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_lambda"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |