Or search by topic
Published 2005 Revised 2019
In this article we shall look at some elementary results in Number Theory, partly because they are interesting in themselves, partly because they are useful in other contexts (for example in olympiad problems), and partly because they will give you a flavour of what Number Theory is about.
You will require a little knowledge in advance, but not much: you need to be familiar with congruence notation, and you need to know that if a and n are coprime (have highest common factor 1) then a has a multiplicative inverse mod n (that is, there is an integer b such that a\times b\equiv 1 \text{ mod } n). You can find an explanation of all of this in the article called Modular Arithmetic . You might also find it useful to know that an integer is a whole number (\ldots, -3, -2, -1, 0, 1, 2, 3, \ldots are all integers), and by natural number , I mean a positive integer (1, 2, 3, \ldots). Sometimes people include 0 as a
natural number, but I'm not going to in this article.
We say that x divides y, written x|y, if there is an integer c such that y=c x. So for example, 3|6 (as 6=2\times 3), but 3\nmid7. We need a little property of primes to help us later. The property is that if p is a prime and p|a b, then p|a or p|b. Is this obvious? Well, no, not really, because it's not true unless p is a prime. For
example, 4 divides 6\times 10=60, but 4 does not divide 6 and 4 does not divide 10. Let's prove it (for primes, of course!). We know that p|a b. If p|a or p|b, then obviously the result is true, so let's suppose that it doesn't. Now we're going to use Bezout's Theorem, which says that m and n are coprime if and only if there exist integers h and k such that h m+k n=1.
Since p\nmid a, a and p are coprime (remember, p is a prime). So there exist integers h and k such that a h+p k=1. Similarly, there are integers H and K such that b H+p K=1. Let's multiply these equations together. Then 1=(a h+p k)(b H+p K)=a b h H+p k b H+p K a h+p^2 k K= (a b)(h H)+p(k b H+K a h+p k K). But p|a b and certainly p|p, so p divides the right-hand side,
so p|1. But this is absurd. So p|a or p|b.
We can use this result and induction to prove the following very important theorem:
Every natural number n> 1 can be expressed in an essentially unique way as the product of prime numbers.
By "essentially unique", I mean "counting different orderings of the primes as the same": 12=2^2\times3=3\times2^2, but I'm counting these products as essentially the same. You should also note the very important fact that 1 is not a prime number - otherwise this theorem would clearly be false! I'm not going to prove this result here, but you might like to
have a go yourself, or you can look it up in any introductory book on number theory.
The first theorem we're going to prove is called Fermat's Little Theorem , sometimes, confusingly, known as FLT (confusing because FLT is also used to refer to Fermat's Last Theorem, which is something quite different!). Here's what the theorem says:
Theorem: Let p be a prime and a a natural number not divisible by p. Then \begin{equation} a^{p-1}\equiv 1 \text{ mod } p. \end{equation}
This is the second of two articles and discusses problems relating to the curvature of space, shortest distances on surfaces, triangulations of surfaces and representation by graphs.
A serious but easily readable discussion of proof in mathematics with some amusing stories and some interesting examples.
An introduction to proof by contradiction, a powerful method of mathematical proof.