JavaScript:实现Eulers TotientFunction欧拉函数算法
/*
so EulersTotientFunction(n) (or phi(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.
*/
const gcdOfTwoNumbers = (x, y) => {
return x ===