2005 iTest Problems/Problem 17
Problem
On the iTest, we defined an optimus prime to be any prime number whose digits sum to a prime number. (For example,
is an optimus prime, because it is a prime number and its digits sum to
, which is also a prime number.) Given that you select a prime number under
, find the probability that is it not an optimus prime.
Solution 1
Consider the set of primes less than :
. There are
primes in this set. Since the last digit of a multi-digit prime number is odd, and the sum of two odd numbers is even, we can immediately disregard all primes with an odd tens digit. In addition, all the one-digit primes have a prime digit sum. We can consider the set of primes with a nonzero even tens digit and find their sums:
. All of these sums are prime, so this case contributes
primes. We can now find the desired probability:
.
See Also
2005 iTest (Problems, Answer Key) | ||
Preceded by: Problem 16 |
Followed by: Problem 18 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 • 26 • 27 • 28 • 29 • 30 • 31 • 32 • 33 • 34 • 35 • 36 • 37 • 38 • 39 • 40 • 41 • 42 • 43 • 44 • 45 • 46 • 47 • 48 • 49 • 50 • 51 • 52 • 53 • 54 • 55 • 56 • 57 • 58 • 59 • 60 • TB1 • TB2 • TB3 • TB4 |