Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.3.17 (Twin primes)
Exercise 1.3.17 (Twin primes)
Twin primes are those differing by . Show that is the only prime belonging to two such pairs. Show also that there is a one-to-one correspondance between twin primes and numbers such that has just four positive divisors.
Answers
Proof. If belongs to two pairs of twin primes, then are prime numbers.
Suppose that , then .
If , then , thus , where , therefore is not a prime.
If , then , thus , where , therefore is not a prime.
This contradiction shows that . Since don’t belong to two such pairs, is the only prime belonging to two pairs of twin primes.
Now suppose that has just four positive divisors, i.e. are the only divisors of . This shows that has just two divisors, so is prime, and similarly is prime. Thus is an orderd pair of twin primes.
Conversely, let be an ordered pair of twin primes, where , so that . Let . Then are distinct divisors of . Let be any prime divisor of . Then or , so or . If is any divisor of , then , where .
If , then . This is impossible since .
If , then , thus , so : this is impossible because are distinct primes.
Therefore , where and . Then has just four divisors and .
Let be the set of pairs of twin primes and the set of positive integers such that has exactly four divisors.
Then , defined by
are well defined by the above argument, and , so is a bijection (and ). □