Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.4.19* (There are infinitely many strong pseudoprimes to the base $a$)
Exercise 2.4.19* (There are infinitely many strong pseudoprimes to the base $a$)
Let be a positive integer such that , and put . Observe that is odd. Show that . Show also that if is composite then is composite. Deduce that if is a pseudoprime base then is a . Conclude that there exist infinitely many numbers of the class .
Answers
Proof.
- a)
-
We suppose that
(congruences modulo 1 are useless). In this case,
, where
is an integer. Then
is odd.
Moreover, , so for some integer . Then
since . This shows that
- b)
-
If
is composite, by definition
, where
. Then
where
Thus , where . This shows that is composite.
- c)
-
If
is a pseudoprime base
, then by definition
is composite and
.
By part (b), is composite, and by part (a), , where is odd, and . By definition (see algorithm p. 78, step 2), is a strong pseudoprime to the base , i.e. is a .
If is a pseudoprime base , then is a .
- d)
- If we know that there are infinitely pseudoprimes base (see below), noting that we have different values of for different values of (the map is injective), there are infinitely many numbers of the class .
- e)
-
Here we recall the proof that there are infinitely many pseudoprimes
to the base
(see Hardy & Wright p. 72 : we give here a slightly modified proof).
Let , and be any odd prime such that .
Since is odd( for the third equality),
are integers. Moreover, and (because ), thus is composite.
Now we show that
-
. By Fermat theorem, . Hence
hence
-
. If is even, then all terms in this sum are even, so is even. If is odd, is the sum of odd terms, where is even, thus is even. In both cases,
-
Since and , where is odd, we obtain
Since , we have
We know that , so for some integer .
Then :
So the composite is a pseudoprime to the base .
There are infinitely many primes such that , and the correspondance is one-to-one (strictly increasing). Therefore there are infinitely many pseudoprimes to the base (in particular to the base ).
By part (d), there are infinitely many numbers of the class .
-