A Starting Place
Lets begin with definitions , then a theorem, and proceed with a proof and an example.Definition: A prime is a positive integer greater than 1 that is divisible by no positive integer other than 1 and itself.
Definition: If a and b are integers with a ≠ 0, we say that a divides b if there is an integer c such that b = ac. If a divides b, we also say that a is a divisor or factor of b and that b is a multiple of a.
Theorem 0.1: Let S = { 6n ± 1, where n is a natural number}, and let p be a natural number with p > 3. If p is a prime number, then p is in S.
[Note: For my purpouses I am considering the natural numbers to be integers strictly greater than zero.]
Proof 0.1 (proof by contradiction): Let S = { 6n ± 1, where 0 < n and n is a natural number}. Let p be a natural number and let p > 3. Assume p is a prime number, and assume p is not in S. Because p is not in S, p is a natural number, and p > 3, then by inspection
p = 6k - 2, p = 6k, p = 6k, p = 6k + 2, or p = 6k +3 where k is natural.
Case 1: Consider when p = 6k - 2 or p = 6k + 2. Now we may write
6k - 2 = 2(3k - 1), and 6k + 2 = 2(3k + 1) by factoring out a 2. Now because k is a natural number 3k - 1 and 3k + 1 are also natural numbers. Then there exists a natural number m such that
p = 2m, so p is not prime because p is divisible by 2 and m (by the definitions of prime and divisible).
Case 2: Consider when p = 6k or p = 6k + 3. By factoring out a 3 we get 6k = 3(2k) and 6k + 3 = 3(2k + 1). We know 2k and 2k+1 are natural numbers because k is natural, so there exists a natural number l such that p = 3l. So p is not prime because it is divisible by 3 and l (by the definitions of prime and divisible).
Now we have a contradiction, because we assumed p was prime, and we showed that when p is not in S p is never prime. Therefore if p is a prime number, then p is in S. □
Example 0.1: Show that the prime number 101 is in set S.
101 = 6*17 - 1 and 17 is a natural number so 101 is in S.
[Definitions of prime and division taken from Elementary Number Theory and Its Applications Fifth Edition by Kenneth H. Rosen and AT&T Laboratories]


