A couple has four children - Wendy, Xavier, Yasmine and Zachary. What's interesting about these children is as follows:
For the first time when the ages of all four children are composite numbers, what is the combined sum of their ages?
Hint : If an integer is not divisible by any prime , then is a prime integer.
If you like this problem, try another one here .
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.
Note that Zachary is 3 years younger than Yaasmine, 5 years younger than Xavier and 6 years younger than Wendy. So two possible scenarios:
In general, we can ignore the even ages considering that the only even prime is 2.
Employing the hint, an odd number that is less than 9 is a prime. This is because if n < 9 , then n < 3 where 3 is the next prime after 2 . Thus the smallest odd composite number is 9 . Thus in the former case, the smallest possible age for Zachary would be 9. Then Yasmine would be 12, Xavier 14 and Wendy 15, all composite numbers.
Similarly, an odd number not divisible by 3 that is less than 25 is a prime. In this case, n < 2 5 so that n < 5 where 5 is the next prime after 2 and 3 . Considering the latter case now, if both Xavier and Yasmine are under 25, at least one of them has an age that is a prime number. This is because their ages differ by 2 so both ages are odd and at least one of them is not divisible by 3, hence a prime.
Thus our answer is 1 5 + 1 4 + 1 2 + 9 = 5 0 . This is indeed the very first time all ages are composite numbers.