cardinality = number of elements in set = số lượng phần tử trong tập hợp

relatively prime: Two integers are relatively prime if they share no common positive factors (divisors) except 1 (gcd(x,y) = 1)

Euler's totient function, also known as phi-function ϕ(n), counts the number of integers between 1 and n inclusive, which are coprime to n. Two numbers are coprime if their greatest common divisor equals 1 (1 is considered to be coprime to any number).

The following properties of Euler totient function are sufficient to calculate it for any number: