- #1
Gelsamel Epsilon
- 315
- 0
Answer selects two natural numbers from the range [2,100] (x, y). He tells one man Sum' 's' (where s = x+y) and another man 'Product' 'p' (where p = x*y).
The men are asked to find x and y.
Both men have perfect logic.
Know that the starting numbers were selected from [2,100]
And are good mathematicians.
The following conversation occurs:
Product: I don't know what the numbers are.
Sum: I knew you didn't know what the numbers were, but I don't know them either.
Product: I know what the numbers are.
Sum: I know what the numbers are.
What were the numbers?
-----------------------------------------
I've tried brute forcing this but it was taking WAY too long for me to care. Is there any intuitive and easy way of figuring this out?
The men are asked to find x and y.
Both men have perfect logic.
Know that the starting numbers were selected from [2,100]
And are good mathematicians.
The following conversation occurs:
Product: I don't know what the numbers are.
Sum: I knew you didn't know what the numbers were, but I don't know them either.
Product: I know what the numbers are.
Sum: I know what the numbers are.
What were the numbers?
-----------------------------------------
I've tried brute forcing this but it was taking WAY too long for me to care. Is there any intuitive and easy way of figuring this out?