Exercise: For each integer n from 2 to 12, find all positive integers less than n that are relatively prime to n.
The Euler phi-function
is defined to be the number of
positive integers less than n that are relatively prime to n.
By definition, the number 1 is relatively prime to n.
Exercise: Use the result from the previous exercise to determine the values of the Euler phi-function for n from 1 to 12. Do you see a pattern? (You can generate this sequence using Maple: with(numtheory): [ seq(phi(n),n=1..100)]; )
Two numbers are congruent modulo m (written
)
if m divides a-b.
Exercise: For each integer from 0 to 3 find two other integers congruent to it modulo 4.
Exercise:
Suppose that
and
.
Is it true that
?
Can you prove it? Can you prove that
?
A famous and nontrivial result that is also used in data encryption
algorithms is Euler's Theorem: If m is a positive integer
and a is a positive integer relatively prime to m then
Exercise: Verify Euler's Theorem for m=4 and a=9 and for m=5 and a=3.
Euler's Theorem is a generalization of Fermat's (little) theorem:
If p is a prime number that does not divide a then