MYSTERY CODE
Crack the 3-digit code. All three digits are different.
WHAT’S THE CODE?
Clues
- 307One digit is correct and in the right place.
- 914One digit is correct but in the wrong place.
- 018Two digits are correct, both in the wrong places.
- 742No digit is correct.
- 849One digit is correct but in the wrong place.
Reveal answer and explanation
Answer
381
Why it works
914 is satisfied by the misplaced 1, ruling out 9; 849 is satisfied by the misplaced 8. The code is 381.
- 742 rules out 7, 4, and 2.
- With 7 absent, 307 says either 3 is correct in the first position or 0 is correct in the second position.
- 018 requires two digits from 0, 1, and 8, both misplaced. The alternative with 0 in the code cannot satisfy the remaining clues, so 3 is fixed first and 0 is absent.
- Therefore 1 and 8 are the two digits from 018. Since 1 is not second and 8 is not third, they must be third and second respectively.
- 914 is satisfied by the misplaced 1, ruling out 9; 849 is satisfied by the misplaced 8. The code is 381.
