Totient Function -- from Wolfram MathWorld
https://mathworld.wolfram.com › ...The totient function is implemented in the Wolfram Language as EulerPhi[n]. ... , 2, ... are 1, 1, 2, 2, 4, 2, 6, 4, 6, 4, 10, ... (OEIS A000010). The totient ...
Euler's Totient Function - GeeksforGeeks
https://www.geeksforgeeks.org/eulers-totient-function05.06.2015 · Euler’s Totient function Φ (n) for an input n is the count of numbers in {1, 2, 3, …, n} that are relatively prime to n, i.e., the numbers whose GCD (Greatest Common Divisor) with n is 1. Examples : Φ (1) = 1 gcd (1, 1) is 1 Φ (2) = 1 gcd (1, 2) is 1, but gcd (2, 2) is 2.