Codebreaking in Break The Bank: a method that works

Break The Bank is a logic puzzle: every guess earns a hint saying how many of your numbers are in the PIN and how many are in the right place. Guessing at random wastes the five minutes. A method finds the PIN in a handful of tries.

What a hint tells you

The PIN uses different digits, so no number appears twice. A hint such as "2 numbers are right and one in right position" says that exactly two of your digits are somewhere in the PIN, and exactly one of those is already in the right place. It never says which ones.

Easy banks have a 3-digit PIN, medium banks 5 and hard banks 7, so the same method scales: first find which digits are in the PIN, then find where they go.

Step one: find the digits

Split the ten digits into groups and guess each group once. For a 3-digit PIN, try 123, then 456, then 789. The hints add up to tell you how many PIN digits are in each group, and whatever is left over must come from 0.

Step two: find the positions

Once you know roughly which digits are in, move them around. A digit that shows as "in right position" in one guess and not in another tells you exactly where it belongs.

A worked example

  1. 123 gives "No number is right". 1, 2 and 3 are out.
  2. 456 gives "One number is right but in wrong position". One of 4, 5, 6 is in, but not where it was.
  3. 789 gives "2 numbers are right and one in right position". Two of 7, 8, 9 are in, so 0 is out: the PIN is complete with one digit from 4-6.
  4. 754 gives "2 numbers are right and 2 in right position". 5 is out, so the digit from 4-6 is 4, and 7 and 4 are in place: 7 _ 4.
  5. The middle is 8 or 9. If it were 8, the guess 789 would have had two numbers in place, not one. So the PIN is 794, found in five tries.

Habits that save time

  • Keep notes. On 5- and 7-digit PINs, nobody can hold every hint in their head.
  • Every guess should test something new. Repeating a guess you could already rule out wastes a turn.
  • In a crew, agree a plan: one person tracks which digits are in, another tracks positions, and talk it through on voice before each turn.

Put it into practice

All guides