Are prime numbers really boring, though?

Define a positive integer to be boring if all the digits of the number are the same. How many positive integers less than 1 0 4 10^4 are both prime and boring ?

65 5 872 150

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Zach Abueg
Jan 12, 2017

The one-digit boring primes are 2 , 3 , 5 , 2, 3, 5, and 7 7 .

The only two-digit boring prime is 11 , 11, since 11 11 divides all other two-digit boring numbers.

No three-digit boring numbers are prime, since 111 111 divides all of them and 111 = 3 × 37. 111 = 3 \times 37.

No four-digit boring numbers are prime since they are all divisible by 11 11 .

Therefore, there are 5 positive integers less than 10000 10000 which are both prime and boring .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...