JMC 2010 Q18
18. Sam's 101st birthday is tomorrow. So Sam's age in years changes from a square number (100) to a prime number (101). How many times has this happened before in Sam's lifetime?
- A 1
- B 2
- C 3
- D 4
- E 5
Junior Mathematical Challenge 2010, Question 18. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: D 4
The other times that this has happened previously are when Sam's age in years went from 1 to 2; from 4 to 5; from 16 to 17 and from 36 to 37.
Note that since primes other than 2 are odd, the only squares which need to be checked, other than 1, are of even numbers.
Solution © UK Mathematics Trust, from the JMC 2010 solutions.