JMC 2006 Q20
20. The sum of three different prime numbers is 40. What is the difference between the two biggest of these three numbers?
- A 8
- B 12
- C 16
- D 20
- E 24
Junior Mathematical Challenge 2006, Question 20. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: E 24
As 2 is the only even prime, it must be one of the three primes which total 40 since any three odd numbers have an odd total. So the other two primes sum to 38. Different odd numbers which total 38 are (1, 37), (3, 35), (5, 33), (7, 31), (9, 29), (11, 27), (13, 25), (15, 23), (17, 21).
Of these pairs, only (7, 31) consists of two primes, so the required difference is 24.
Solution © UK Mathematics Trust, from the JMC 2006 solutions.