Sum and Product
Sarah knows the sum of two numbers and Peter knows their product. From a short conversation between them, work out the numbers.
Two different integers x and y satisfy:
2 ≤ x < yandx + y ≤ 100
Sarah is told the sum x + y. Peter is told the product xy. Both know the rules above. Both reason perfectly, always tell the truth, and know that the other does too. The following conversation takes place:
- Peter
- “I don’t know the two numbers.”
- Sarah
- “I knew that you didn’t know.”
- Peter
- “I still don’t know them.”
- Sarah
- “Now I know them.”
- Peter
- “Now I know them too.”
What is xy?