phi
Calculate Euler's totient function for any positive integer to determine the count of numbers less than n that are coprime to n.
Instructions
Compute Euler's totient function phi(n).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Positive integer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |