Brainteasers · Logic and deduction · Hard
Tens and units
A secret number is one of these ten: 14, 15, 17, 18, 27, 28, 36, 54, 56, 57. Priya is told only its tens digit and Sam is told only its units digit. Both know the list, both know which digit the other was told about, and both reason perfectly and speak truthfully. Priya says: "I do not know the number, and I am certain that Sam does not know it either." Sam replies: "I did not know it before you spoke, but I know it now." Priya says: "Then I know it too." What is the number?
Answer and solution
Answer
28
Solution
Turn each statement into a filter on the list: what must the speaker's digit be for the statement to be true?
The units digit 5 appears only in 15, so a tens digit of 1 would leave Priya unable to rule out Sam knowing; a tens digit of 3 would tell her the number is 36. Her statement therefore leaves 27, 28, 54, 56, 57. Sam now knows, so the units digit is not 7 (27 or 57): it is 28, 54 or 56. Priya then knows too, so the tens digit is not 5. The number is 28.
Logic and deduction comes up in 6 firms' roundsD. E. Shaw · Tower Research · Millennium · +3
These 7 rounds ask this kind of problem live, with follow-ups. Every round on every track is in Premium.