MYSTERY CODE
Crack the 3-digit code. All three digits are different.
WHAT’S THE CODE?
Clues
- 814One digit is correct and in the right place.
- 736One digit is correct but in the wrong place.
- 042Two digits are correct, both in the wrong places.
- 596No digit is correct.
- 526One digit is correct but in the wrong place.
Reveal answer and explanation
Answer
274
Why it works
With 6 absent, 736 requires one of 7 or 3 to be present but misplaced. Only 7 can occupy the remaining middle position without matching its clue position, giving 2 — 7 — 4.
- 596 rules out 5, 9, and 6.
- With 5 and 6 absent, 526 identifies 2 as the one correct but misplaced digit, so 2 is not second.
- In 042, the 2 is also misplaced from the third position. It must therefore be first, and exactly one of 0 or 4 is also present.
- The clue 814 cannot be satisfied by 1 in the middle because that would leave no place for the remaining clue requirements. Therefore 4 is correct in the third position, ruling out 8, 1, and 0.
- With 6 absent, 736 requires one of 7 or 3 to be present but misplaced. Only 7 can occupy the remaining middle position without matching its clue position, giving 2 — 7 — 4.
