math
The Vault Code
- Prize
- 1 knave
- Status
- Solved
- Published
- 2 Dec 2026
The puzzle
A vault code has four digits, all different, none of them zero. - The first digit is twice the fourth digit. - The second digit is three more than the third digit. - The four digits add up to 20. - The whole number is divisible by 11. What is the code?
Answer
6743
Let the digits be a, b, c, d. From the clues: a = 2d and b = c + 3. The sum gives 2d + (c + 3) + c + d = 20, so 3d + 2c = 17. With digits 1-9 and b = c + 3 at most 9: d = 1 gives c = 7 and b = 10 (impossible); d = 3 gives c = 4 and b = 7; d = 5 gives a = 10 (impossible). So the only digits are a = 6, b = 7, c = 4, d = 3, all different and non-zero. Check: 6743 / 11 = 613 exactly, so the divisibility clue is satisfied. The code is 6743.