# Section5.3Divisibility statements and other proofs using PMI

There is a very famous result known as Fermat's Little Theorem. This would probably be abbreviated FLT except for two things. In science fiction FLT means “faster than light travel” and there is another theorem due to Fermat that goes by the initials FLT: Fermat's Last Theorem. Fermat's last theorem states that equations of the form $a^n+b^n=c^n$, where $n$ is a positive natural number, only have integer solutions that are trivial (like $0^3+1^3=1^3$) when $n$ is greater than 2. When $n$ is 1, there are lots of integer solutions. When $n$ is 2, there are still plenty of integer solutions — these are the so-called Pythagorean triples, for example 3,4 & 5 or 5,12 & 13. It is somewhat unfair that this statement is known as Fermat's last theorem since he didn't prove it (or at least we can't be sure that he proved it). Five years after his death, Fermat's son published a translated 1  version of Diophantus's Arithmetica containing his father's notations. One of those notations — near the place where Diophantus was discussing the equation $x^2+y^2=z^2$ and its solution in whole numbers — was the statement of what is now known as Fermat's last theorem as well as the following claim:

Cuius rei demonstrationem mirabilem sane detexi hanc marginis exiguitas non caperet.

In English:

I have discovered a truly remarkable proof of this that the margin of this page is too small to contain.

Between 1670 and 1994 a lot of famous mathematicians worked on FLT but never found the “demonstrationem mirabilem.” Finally in 1994, Andrew Wiles of Princeton announced a proof of FLT, but in Wiles's own words, his is “a twentieth century proof” it can't be the proof Fermat had in mind.

These days most people believe that Fermat was mistaken. Probably he thought a proof technique that works for small values of $n$ could be generalized. It remains a tantalizing question, can a proof of FLT using only methods available in the 17th century be accomplished?

Part of the reason that so many people spent so much effort on FLT over the centuries is that Fermat had an excellent record as regards being correct about his theorems and proofs. The result known as Fermat's little theorem is an example of a theorem and proof that Fermat got right. It is probably known as his “little” theorem because its statement is very short, but it is actually a fairly deep result.

A slight restatement of Fermat's little theorem is that $p$ is always a divisor of $x^p-x$ (assuming $p$ is a prime and $x$ is an integer). Math professors enjoy using their knowledge of Fermat's little theorem to cook up divisibility results that can be proved using mathematical induction. For example, consider the following: \begin{equation*} \forall n \in \Naturals, 3 \divides (n^3 + 2n + 6). \end{equation*}

This is really just the $p=3$ case of Fermat's little theorem with a little camouflage added: $n^3 + 2n + 6 = (n^3-n)+3(n+2)$. But let's have a look at proving this statement using PMI.

##### Exercise5.3.3

Devise an inductive proof of the statement, $\forall n \in \Naturals, 5 \divides x^5+4x-10$.

There is one other subtle trick for devising statements to be proved by PMI that you should know about. An example should suffice to make it clear. Notice that $7$ is equivalent to $1 \pmod{6}$, it follows that any power of $7$ is also $1 \pmod{6}$. So, if we subtract $1$ from some power of 7 we will have a number that is divisible by $6$.

The proof (by PMI) of a statement like this requires another subtle little trick. Somewhere along the way in the proof you'll need the identity $7=6+1$.

Mathematical induction can often be used to prove inequalities. There are quite a few examples of families of statements where there is an inequality for every natural number. Often such statements seem to be obviously true and yet devising a proof can be illusive. If such is the case, try using PMI. One hint: it is fairly typical that the inductive step in a PMI proof of an inequality will involve reasoning that isn't particularly sharp. Just remember that if you have an inequality and you make the big side even bigger, the resulting statement is certainly still true!

Consider the sequences $2^n$ and $n!$.

 $n$ 0 1 2 3 $2^n$ 1 2 4 8 $n!$ 1 1 2 6

As the table illustrates, for small values of $n$, $2^n > n!$. But from $n=4$ onward the inequality is reversed.

The observant Calculus student will certainly be aware of the fact that, asymptotically, exponential functions grow faster than polynomial functions. That is, if you have a base $b$ which is greater than 1, the function $b^x$ is eventually larger than any polynomial $p(x)$. This may seem a bit hard to believe if $b=1.001$ and $p(x) = 500x^{10}$. The graph of $y=1.001^x$ is practically indistinguishable from the line $y=1$ (at first), whereas the graph of $y=500x^{10}$ has already reached the astronomical value of five trillion ($5,000,000,000,000$) when $x$ is just $10$. Nevertheless, the exponential will eventually outstrip the polynomial. We can use the methods of this section to get started on proving the fact mentioned above. Consider the two sequences $n^2$ and $2^n$.

 $n$ 0 1 2 3 4 5 6 $n^2$ 0 1 4 9 16 25 36 $2^n$ 1 2 4 8 16 32 64

If we think of a “race” between the sequences $n^2$ and $2^n$, notice that $2^n$ starts out with the lead. The two sequences are tied when $n=2$. Briefly, $n^2$ goes into the lead but they are tied again when $n=4$. After that it would appear that $2^n$ recaptures the lead for good. Of course we're making a rather broad presumption — is it really true that $n^2$ never catches up with $2^n$ again? Well, if we're right then the following theorem should be provable:

Proof:Basis: When $n=4$ we have $4^2 \leq 2^4$, which is true since both numbers are 16. Inductive step: (In the inductive step we assume that $k^2 \leq 2^k$ and then show that $(k+1)^2 \leq 2^{k+1}$.) The inductive hypothesis tells us that \begin{equation*} k^2 \leq 2^k. \end{equation*} If we add $2k+1$ to the left-hand side of this inequality and $2^k$ to the right-hand side we will produce the desired inequality. Thus our proof will follow provided that we know that $2k+1 \leq 2^k$. Indeed, it is sufficient to show that $2k+1 \leq k^2$ since we already know (by the inductive hypothesis) that $k^2 \leq 2^k$. So the result remains in doubt unless you can complete the exercise that follows\ldots Q.E.D.???
##### Exercise5.3.7

Prove the lemma: For all $n \in \Naturals$, if $n \geq 4$ then $2n+1 \leq n^2$.

# Subsection5.3.1Exercises

Give inductive proofs of the following
1. $\forall x \in \Naturals, \; 3 \divides x^3-x$

2. $\forall x \in \Naturals, \; 3 \divides x^3+5x$

3. $\forall x \in \Naturals, \; 11 \divides x^{11}+10x$

4. $\forall n \in \Naturals, \; 3 \divides 4^n-1$

5. $\forall n \in \Naturals, \; 6 \divides (3n^{2}+3n-12)$

6. $\forall n \in \Naturals, \; 5 \divides (n^{5}-5n^{3}+14n)$

7. $\forall n \in \Naturals, \; 4 \divides (13^{n}+4n-1)$

8. $\forall n \in \Naturals, \; 7 \divides 8^n+6$

9. $\forall n \in \Naturals, \; 6 \divides 2n^3 - 2n - 12$

10. $\forall n \geq 3 \in \Naturals, \; 3n^2+3n+1 \lt 2n^3$

11. $\forall n > 3 \in \Naturals, \; n^3 \lt 3^n$

12. $\forall n \geq 3 \in \Naturals, \; n^{3}+3>n^{2}+3n+1$

13. $\forall x \geq 4 \in \Naturals, \; x^22^x \leq 4^x$