Worked Examples
Advanced Deduction Puzzles · Study material
Example: open the lock
- 7, 3 and 8 are not in the code.
- From 3 8 0: only 0 can be correct, and it is not in the last position.
- From 2 0 6: two of 2, 0, 6 are in the code, wrongly placed. 0 is one of them, so 0 is not in the middle either: 0 is first.
- From 6 8 2: one of 6 or 2 is well placed. 6 cannot be first (0 is), so 2 is last.
- From 6 1 4: one of 6, 1, 4 is correct but wrongly placed. 6 is ruled out by step 3 (only two of 2, 0, 6), so it is 4, and 4 goes in the middle.
- The code is 042.