2025-02-02

985: Euler's Totient Function

<The previous article in this series | The table of contents of this series | The next article in this series>

definition of Euler's totient function

Topics


About: set

The table of contents of this article


Starting Context



Target Context


  • The reader will have a definition of Euler's totient function.

Orientation


There is a list of definitions discussed so far in this site.

There is a list of propositions discussed so far in this site.


Main Body


1: Structured Description


Here is the rules of Structured Description.

Entities:
ϕ: :N{0}N{0}
//

Conditions:
nN{0}(ϕ(n)=|{jN{0}|jngcd(n,j)=1}|)
//


2: Note


In other words, ϕ(n) is the number of the positive natural numbers equal or smaller than n that (the positive natural numbers) are relatively prime to n.

In fact, ϕ(n) is the number of the single-element-generators of the n-ordered cyclic group by any p, p: p={p1,...,pn=1}; for a pj, where 1jn, to be a generator, for (pj)k=1, n is the smallest such k; while (pj)k=1 means that jk=nm, the smallest such k is n/gcd(n,j) (because k does not need gcd(n,j) as any factor because it is already contained in j, and k needs the n/gcd(n,j) factor because j does not contain it), so, n=n/gcd(n,j), which means that gcd(n,j)=1; so, indeed, the number of the single-element-generators of p is |{jN{0}|jngcd(n,j)=1}|)=ϕ(n).


References


<The previous article in this series | The table of contents of this series | The next article in this series>