Kode #34: hints & solution

Here's the clue board for Kode #34. Start with the spoiler-free hints. If you're still stuck, the full step-by-step solution is below, hidden until you open it.

The clue board

Each row is a guess that's already been graded. ▲ means a right digit in the right spot; ● means a right digit in the wrong spot.

  • 15032▲1●1
  • 22031▲0●2
  • 38316▲0●2
  • 40725▲1●1
  • 50916▲0●0

Spoiler-free hints

  • 2 of the four digits are even.
  • The four digits add up to 20.
  • 2 of the digits are 5 or higher.

Try the hints first. The solution below walks through every deduction.

Step-by-step solution

Every Kode can be cracked by pure deduction, with no guessing. This board falls in 10 logical steps. Open the solution to follow them one at a time.

Show the solution · reveals the code

When a row "rules out" a position, it shows that digit there but its ▲ marks are already used up (or it has none), so the digit can't sit there.

  1. Row 5 (0 9 1 6) has no marks at all, so 0, 9, 1, and 6 are not in the code.
  2. Row 2 (2 0 3 1) has 2 marks still unexplained, and only 2 digits are left undecided: 2 and 3. So both are in the code.
  3. Row 1 (5 0 3 2) has 2 marks, already accounted for by 3 and 2. That rules out 5.
  4. Row 3 (8 3 1 6) has one mark still unexplained, and only one digit is left undecided: 8. So it is in the code.
  5. Row 4 (0 7 2 5) has one mark still unexplained, and only one digit is left undecided: 7. So it is in the code.
  6. That makes all four digits of the code: 2, 3, 7, and 8. Every other digit is out, which also rules out 4.
  7. Row 1 (5 0 3 2) has one digit in the right spot. Since row 2 rules out the 3 in position 3, it has to be the 2 in position 4.
  8. Row 4 (0 7 2 5) has one digit in the right spot. Since the 2 is already in position 4, it has to be the 7 in position 2.
  9. The 3 has only one spot left: position 1 (row 2 rules out position 3, position 2 is already 7, and position 4 is already 2).
  10. That leaves the 8 for position 3.

That cracks it: the code is 3782.