For those who followed the Newbie as Number Theory series, you would have already seen both Fermat’s Little Theorem and what I dubbed Euler’s Little Theorem. The proof we gave in the article about Euler’s little theorem did not rely on Fermat’s little theorem. However, it’s anyways fun to try to prove old things in new ways. Today, we will give another proof that does use Fermat’s Little Theorem!
But to make sure we are all on the same page:
Fermat’s Little Theorem: Let be prime and let then
Euler’s Little Theorem: Let and be a positive integers such that then
where is Euler’s totient function.
Proof: The effort is showing that Fermat’s Little Theorem implies Euler’s Little Theorem. For this reason, we focus on this direction of the proof.
Let Fermat’s Little Theorem hold for all prime and integers where
.
Consider some natural numbers and
such that
. We are aiming to show . In the case that is prime we uses Fermat’s Little Theorem and we are done. So, let’s assume that is composite (we disregard the case ). Therefore, factors uniquely into distinct primes (by the Fundamental Theorem of Arithmetic):
for primes and .
In order to show this for any composite number, we will use induction on .
Base Case: Consider some prime . We will show that,
for all . We do this using induction on
. Our base case is simply Fermat’s Little Theorem.
Assume that for some
. We will show that
. To this end, observe
Using the binomial theorem, our induction hypothesis, and the above result we deduce,
Observe that which completes our induction and the base case.
Warm Up: Here we will do a quick warm up for our induction step. We do the case when .
Let and
be distinct primes and let
. We will show
. To this end, note that
Equivalently,
Where . Thus,
Which, by Euclid’s lemma, we deduce Hence,
for some . Therefore,
Finishing our warm up. We will do the exact same series of steps, but with more primes!
Induction Step: Assume that for some
. By our induction hypothesis,
and
Equivalently,
and
Where . Thus,
and by Euclid’s lemma for all
(or simply that
) so that,
for some . Therefore,
Comleting the induction.
Closing Remarks
Today was a fresh take on something old. However, I hope you found it interesting! There was a lot of algebra, binomials, exponents, etc. How awesome!
As always, thank you for taking the time to read this article! I appreciate it!

Leave a comment