Section 9.2 The Euler Phi Function
ΒΆDefinition 9.2.1.
We give the order of Un the name Ο(n). That is, by definition,
Ο(n)=|Un|.
Remark 9.2.2.
Since modulo one everything is one, we say U1={[1]} and Ο(1)=1 since gcd(1,1)=1, despite the fact that also everything is zero. If this bothers you, you are nearly at the algebraic notion of a field mentioned toward the end of Section 8.1, and may wish to read some discussions of the field with one element.
Question 9.2.3.
Do you see any patterns on the value of Ο(n)?
Subsection 9.2.1 Euler's theorem
ΒΆSo far this is a relatively abstract concept. What follows is not abstract at all, but very, very useful! Let's follow the following argument to see what we can find out about Ο(n). Recall the notion of the order of an element (Definition 8.3.10). So any random element [a]βUn (for some n) has an order.Example 9.2.4.
For instance, the order of [2] in U7 is 3, because [2]1 and [2]2 are not 1, but [2]3β‘8β‘1 (mod 7).
|a|β£Ο(n), or Ο(n)=k|a|
for some positive integer k.
Finally, let's apply this fact to powers of a.
aΟ(n)=ak|a|=(a|a|)kβ‘1kβ‘1 (mod n)
This is very interesting; without it, all we would know is that a|a|β‘1 because that's the definition of what βorderβ means. With it, we have proved one of the many celebrated theorems of Leonhard Euler:
Theorem 9.2.5. Euler's Theorem.
If gcd(a,n)=1, then aΟ(n)β‘1 (mod n).
Proof.
See the preceding paragraphs.