We shall show an application of pigeonhole principle to Number theory - Dirichlet’s theorem and then an application of coloring to Number theory - Schur’s theorem or that Fermat’s last theorem fails for finite fields.
Let be a real number. For any natural number , there is a rational number such that and
It is easy to obtain that error of or equivalently,
A consequence of the theorem is that there are infinitely many rationals such that the above conclusion holds. This theorem is one of the basic theorems in what is known as Diophantine approximation. See also the following popular article on Duffin-Schaeffer conjecture which is a quantitative refinement of Dirichlet’s theorem.
Let be the fractional part of . Consider . By pigeonhole principle, two of them should belong to some interval for . Say belong to the same interval and . Thus . Writing it differently,
and so the theorem follows by setting and . Also since , . ∎
The famous Fermat’s last theorem states that if , there are no solutions to for natural numbers . Schur (1916) used pigeonhole principle via a colouring argument to show that there are infinitely many solutions in a finite field for large prime .
For any and a -coloring of where , there are three integers of the same colour and such that .
Before the proof, we disprove Fermat’s last theorem for finite fields.
For every integer , there exists such that for any prime , the congruence
has a solution.
The multiplicative group is cyclic and so has a generator . Thus for any for . We colour by colours where for . By Schur’s theorem for , there are such that (in ) with . Say . Therefore,
or equivalently,
∎
Let be a colouring. Suppose that there exists no for of the same colour, we will show that .
WLOG, let be the most frequently appearing colour and let be the elements of color . By pigeonhole principle, .
Define . By assumption, there is no element in of colour . So is covered by colours and let be the most frequently appearing colour in . Let be the elements of colour . Again by pigeonhole principle, we have that .
Define . By assumption, there is no element in of colour . So is covered by colours and let be the most frequently appearing colour in . Let be the elements of colour . Again by pigeonhole principle, we have that .
Proceeding similarly, we get . Given that there are colours at most, . Thus, we have that , for . Thus substituting recursively,
∎