MYSTERY CODEmedium
Crack the 3-digit code.
All three digits are different.
WHAT'S THE CODE?
Clues
- 574One digit is correct and in the right place.
- 869One digit is correct but in the wrong place.
- 463Two digits are correct, both in the wrong places.
- 056No digit is correct.
- 825One digit is correct but in the wrong place.
Reveal answer and explanation
Answer
384
Why it works
The clues force 3, 8, and 4 into the only order that satisfies every position rule.
- From 056, the digits 0, 5, and 6 are not in the code.
- With 6 excluded, 463 says that 4 and 3 are both in the code, but both are in the wrong places.
- In 574, 5 is excluded and 4 is already known to be present. Therefore 4 is the one correct digit in the right place, so 4 is third and 7 is absent.
- The clues 869 and 825 each require one misplaced digit. If 8 were absent, those clues would force both 9 and 2 into a code that already contains 3 and 4, which is impossible for a three-digit code. Therefore 8 is present, while 9 and 2 are absent.
- The 8 is first in both 869 and 825, so it cannot be first. With 4 fixed third, 8 must be second and 3 must be first, giving 384.
