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 k be a positive integer such that 2 k 1 1 ( mod k ) , and put m = 2 k 1 . Observe that d = ( m 1 ) 2 is odd. Show that 2 d 1 ( mod m ) . Show also that if k is composite then m is composite. Deduce that if k is a pseudoprime base 2 then m is a spsp ( 2 ) . Conclude that there exist infinitely many numbers of the class spsp ( 2 ) .

Answers

Proof.

a)
We suppose that k 2 (congruences modulo 1 are useless). In this case, m = 2 k 1 = 4 2 k 2 1 = 4 K 1 , where K = 2 k 2 is an integer. Then d = ( m 1 ) 2 = 2 K 1 is odd.

Moreover, 2 k 1 1 ( mod k ) , so 2 k 1 = 1 + λk for some integer λ . Then

2 d = 2 m 1 2 = 2 2 k 1 1 = 2 λk = ( 2 k ) λ 1 ( mod m ) ,

since 2 k = m + 1 1 ( mod m ) . This shows that

2 d 1 ( mod m ) .

b)
If k is composite, by definition k = ab , where 1 < a < k . Then m = 2 ab 1 = ( 2 a 1 ) i = 0 b 1 2 ia ,

where

1 < 2 1 < 2 a < 2 k ,

Thus 1 < 2 a 1 < 2 k 1 , where 2 a 1 m . This shows that m is composite.

c)
If k is a pseudoprime base 2 , then by definition k 2 is composite and 2 k 1 1 ( mod k ) .

By part (b), m is composite, and by part (a), m = 2 d , where d is odd, and 2 d 1 ( mod m ) . By definition (see algorithm p. 78, step 2), m is a strong pseudoprime to the base 2 , i.e. m is a spsp ( 2 ) .

If k is a pseudoprime base 2 , then m = 2 k 1 is a spsp ( 2 ) .

d)
If we know that there are infinitely pseudoprimes base 2 (see below), noting that we have different values of m for different values of k (the map k m = 2 k 1 is injective), there are infinitely many numbers of the class spsp ( 2 ) .
e)
Here we recall the proof that there are infinitely many pseudoprimes m to the base a (see Hardy & Wright p. 72 : we give here a slightly modified proof).

Let a > 1 , and p be any odd prime such that p a 2 1 .

m = a 2 p 1 a 2 1 = ( a p 1 a 1 ) ( a p + 1 a + 1 ) .

Since p is odd( for the third equality),

a 2 p 1 a 2 1 = i = 0 p 1 a 2 i , a p 1 a 1 = i = 0 p 1 a i , a p + 1 a + 1 = i = 0 p 1 ( 1 ) i a i

are integers. Moreover, a p 1 a 1 > 1 and a p + 1 a + 1 > 1 (because a > 1 ), thus m is composite.

Now we show that 2 p m 1

  • m 1 = a 2 p a 2 a 2 1 . By Fermat theorem, p a p a a 2 p a 2 = ( a p a ) ( a p + a ) . Hence

    p ( a 2 1 ) ( m 1 ) , where  p ( a 2 1 ) = 1 ,

    hence

    p m 1 .

  • m 1 = a 2 ( p 1 ) + a 2 ( p 2 ) + + a 2 . If a is even, then all terms in this sum are even, so m 1 is even. If a is odd, m 1 is the sum of p 1 odd terms, where p 1 is even, thus m 1 is even. In both cases,

    2 m 1 .

  • Since 2 m 1 and p m 1 , where p is odd, we obtain

    2 p m 1 .

Since ( a 2 1 ) m = a 2 p 1 , we have

a 2 p 1 ( mod m ) .

We know that 2 p m 1 , so m 1 = 2 λp for some integer λ .

Then a m 1 = ( a 2 p ) λ 1 ( mod m ) :

a m 1 1 ( mod m ) .

So the composite m is a pseudoprime to the base a .

There are infinitely many primes such that p a 2 1 , and the correspondance p m = a 2 p 1 a 2 1 = i = 0 p 1 a 2 i is one-to-one (strictly increasing). Therefore there are infinitely many pseudoprimes to the base a > 1 (in particular to the base 2 ).

By part (d), there are infinitely many numbers of the class spsp ( 2 ) .

User profile picture
2024-08-25 09:08
Comments