Interactive · 3 questions
Thue's lemma is a simple lemma which essentially shows that there exists a small solution to a two-variable linear congruence, with many applications as we will see...
Essentially, it states that for a prime and a number mod p, we may find so that the equivalence mod is satisfied for some choice of .
How could we go about proving this statement?
The proof is hard to motivate to a newcomer, so I'll try to explain it as clearly as possible- Essentially we want a pigeonhole argument to show a statement.
The main thing to notice is that if you take a number of the form and another one of the form , their difference may easily be written in the form as well.
If we want to use Pigeonhole on all numbers of the form , what do we need?
Consider all with . If we look at all numbers of the form , there are more than of these, since , a prime is not a square.
Then by Pigeonhole, two of these expressions, say , must be equivalent mod , so that
. But now note that since we have that , so gives us the solution we need.
Now, let's see this lemma at work. One of the most famous applications of Thue is to prove the following (a key ingredient to Fermat's Christmas theorem on sums of two squares):
Theorem: For any prime mod , there exist with .
First, let's note one thing- If we want to apply Thue, the is very annoying, so it makes sense to square the congruence- Then Thue states there is a solution to mod with .
Now, we can proceed. I'll take for granted the fact that there exists an integer so that . The proof of this doesn't really belong here since it requires some different number-theoretic argments, but if you want to prove it yourself, my hint is to let and use Wilson's Theorem cleverly.
So, now we have and we want to show the existence of with . How can we bound to force this to happen?
Note that so if and only if we have .
That is, this occurs whenever mod .
Ah-ha! Then we can let and apply Thue's lemma to show the existence of a solution with , and this means we're done!
This example demonstrates the power of Thue's lemma, whose proof is very simple, but gives a very nontrivial statement.
Note: If you want a slightly harder challenge, show that all primes and mod may be written in the form .