jordan_totient
Calculate Jordan's totient function J_k(n), a generalization of Euler's totient function for arithmetic applications.
Instructions
Calculate Jordan's totient function J_k(n) - generalization of Euler's totient. (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>",
"k": "<k>"
},
"name": "jordan_totient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| k | Yes |