[I got this problem from the book In code: a mathematical journey by Sarah Flannery and David Flannery.]
A (presumed smart) insurance agent knocks on a door and a (presumed smart) woman opens. He introduces himself and asks if she has any children. She answers: 3. When he then asks their ages (which for this problem we abstract to integers), she hesitates. Then she decides to give him some information about their ages, saying "the product of their ages is 36". He asks for more information and she gives in, saying "the sum of their ages is equal to our neighbors’ house number". The man jumps over the fence, inspects the house number, and the returns. "You need to give me another hint", he begs. "Alright", she says, "my oldest child plays the piano". What are the ages of the children?
January 2009
©2020-2023 K.R.M. Leino - Split Template by One Page Love