2005 iTest Problems/Problem 17

Problem

On the $2004$ iTest, we defined an optimus prime to be any prime number whose digits sum to a prime number. (For example, $83$ is an optimus prime, because it is a prime number and its digits sum to $11$, which is also a prime number.) Given that you select a prime number under $100$, find the probability that is it not an optimus prime.

Solution 1

Consider the set of primes less than $100$: $2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97$. There are $25$ 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 (except for 11, which has digit sum $2$). 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: $5, 11, 5, 7, 11, 7, 13, 11, 17$. All of these sums are prime, so this case contributes $9$ primes. We can now find the desired probability: $1-\frac{9+1+4\text{(for the one digit primes)}}{25}=\boxed{\frac{11}{25}}$.

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