My neighbor has nine kids (all under 21), and their ages are such that you can never pick three kids so that the middle one is the average of the ages of the extreme ones. What are their ages?
(Note that you could also say that you can never find three kids whose ages are in arithmetic progression.)
(In reply to
Brute force solutions (spoilers) by Charlie)
Both solutions are essentially the same: the second set is found replacing every age in the first set by the difference to 21.
|
Posted by Oskar
on 2004-09-09 10:14:51 |