Exercise 2.1.49* (Prime divisors of repunits.)

If p is any prime other than 2 or 5 , prove that p divides infinitely many of the integers 9 , 99 , 999 , 9999 , . If p is any prime other than 2 or 5 , prove that p divides infinitely many of the integers 1 , 11 , 111 , 1111 , .

Answers

Proof.

a)
If p is any prime other than 2 or 5 , then p 10 = 1 . By Fermat’s theorem, p 1 0 p 1 1 .

Therefore, for every positive integer k ,

p 1 0 k ( p 1 ) 1 .

Since 1 0 k ( p 1 ) 1 = 999 9 , where the number of 9 is k ( p 1 ) , p divides infinitely many of the integers 9 , 99 , 999 , 9999 , .

b)
Let p be any prime other than 2 or 5 . Note that 9 = 10 1 divides 1 0 k ( p 1 ) 1 .
  • If p 3 , p 9 = 1 , and by part (a), p 1 0 k ( p 1 ) 1 = 9 1 0 k ( p 1 ) 1 9 . Therefore

    p 1 0 k ( p 1 ) 1 9 .

    Since 1 0 k ( p 1 ) 1 9 = 111 1 , where the number of 1 is k ( p 1 ) , p divides infinitely many of the integers 1 , 11 , 111 , 1111 , .

  • If p = 3 , 10 1 ( mod 3 ) , thus 1 0 k 1 ( mod 3 ) for all k , therefore

    1 0 n 1 + 1 0 n 2 + + 10 + 1 1 + 1 + + 1 = n ,

    so 111 1 is divisible by 3 if the number n of 1 in its decimal expression is a multiple of 3 .

    Thus 3 divides 111 , 111 . 111 , 111 . 111 . 111 , , and we obtain the same conclusion.

    If p is any prime other than 2 or 5 , p divides infinitely many of the integers 1 , 11 , 111 , 1111 , (the repunits).

User profile picture
2024-08-03 16:53
Comments