euler_totient
Calculate Euler's totient function φ(n) to determine the count of integers up to n that are coprime with n.
Instructions
Calculate Euler's totient function φ(n) - count of integers ≤ n coprime to 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": "euler_totient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |