1
11 One 1
21 Two 1's
1211 One 2 and One 1
111221 One 1, One 2, and Two 1's
312211 Three 1's, Two 2's, and One 1
13112221 One 3, One 1, Two 2's, and Two 1's
I already knew about this sequence so I didn't really solve it
Me: Here are integers A and B, both greater than 1. Bob is given AxB and Sam is given A+B.
Me: Bob, do you know what A and B are?
Bob: I don't know.
Me: Bob doesn't know. What about you, Sam?
Sam: I don't know, either.
Bob: Ah! I know what they are.
Sam: I as well know what they are.
Me: Here are integers A and B, both greater than 1. Bob is given AxB and Sam is given A+B.
Me: Bob, do you know what A and B are?
Bob: I don't know.
Me: Bob doesn't know. What about you, Sam?
Sam: I don't know, either.
Bob: Ah! I know what they are.
Sam: I as well know what they are.
What are A and B?
EDIT: Let's just say A<=B to prevent confusion
If Bob has AB, then AB must be a number that has more than one way of being factored into two numbers each greater than 1. Thus, the smallest number Bob could have gotten is 12, which has factorization of 3*4 and 2*6. Thus, he can't give an answer. Since Bob can't answer, Sam can't answer either because his number likewise has more than one breakdown of A+B from the given integer...only this time, Sam's number can be no smaller than 6.
Bob now realizes that there is a second way of breaking down Sam's given number. The rest of my answer depends on whether Bob and Sam know each other's numbers.
Me: Here are integers A and B, both greater than 1. Bob is given AxB and Sam is given A+B.
Me: Bob, do you know what A and B are?
Bob: I don't know.
As igotrhythm said, this means AB can be broken down in more than one (proper) way.
Originally posted by leonid
Me: Bob doesn't know. What about you, Sam?
Sam: I don't know, either.
Bob's combinations of possible A's and B's also both give numbers that can be broken down in more than one (proper) way.
Originally posted by leonid
Bob: Ah! I know what they are.
Sam: I as well know what they are.
What are A and B?
A+B can't be too high nor too low. A little bit of guess-and-checking gives A = 2 and B = 6. We see that this pair of numbers satisfies all requirements.
Comment