Adam knows the sum of two positive integers while Ben knows their product, but neither knows the two positive integers themselves.
They had the following conversation to find the two numbers:
Adam: "I don't know the numbers."
Ben: "I don't know the numbers."
Adam: "Now I know the numbers!"
Ben: "Now I know the numbers!"
So... what is the value of one of the two positive integers?
Assume both Adam and Ben always tell the truth.
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.
The statement made by Adam indicates the sum is not 2 or 3, he would otherwise know the numbers. Ben provides that the product is not a prime, otherwise he would know the numbers. Four as a sum has two values and would by this time reaveal the numbers as 2 and 2. 5 as a sum would not. Six or seven as a sum would have too many possible values to reaveal the number. This means Adam heard 4; at this point he knows the numbers