Math NT

Definition

Euler’s totient function returns the number of integers from for a positive integer . It is notated as:

for Prime Powers

Through prime factorization, for , the only positive integers below where is where , for . Therefore:

Multiplicative Property of

If and are coprime:

Proof: Let set be all numbers coprime to below , and set be all numbers coprime to below .

Let set be all possible ordered pairs using elements from and , where the element of is first. If for each element in set we return a value where:

CRT ensures is unique to and exists. Given the fact , we can say that:

If we put all in set , we can see that set has all the elements fitting the above conditions. Looking at the length of :

Value of for any Number

Let a positive integer prime factorization be:

Now using the properties above:

Multiplying all gives , so factor that out:

(you can derive most textbook definitions from this formula easily)

Final formula: