Skip to main content
The National Cipher Challenge

Last Sunday’s puzzle solution:

How did you get on with last week’s puzzle? Those of you who solved it are probably pretty confident that you got it right (it was easy to check after all), but for those of you who didn’t here is how it goes:

Remember we are solving a so-called alphabetic puzzle, DATA +DATA = FACTS where the letters all stand for different digits.

Solution

Since a four-digit number added to itself has produced a five-digit answer, the leading digit of that answer must be 1, so we start with F=1.

Now look at the tens column. If c1c_1 is the carry from the units column and c2c_2 the carry into the hundreds column, then

T+T+c1=T+10c2T+T+c_1=T+10c_2. Subtracting TT from both sides gives T+c1=10c2T+c_1=10c_2.

Both carries can only be 0 or 1, so there are two possibilities:

T=0,c1=c2=0,T=0,\qquad c_1=c_2=0,

or

T=9,c1=c2=1T=9,\qquad c_1=c_2=1

We need to investigate both.

Could T=0T=0?

Suppose T=0,c1=c2=0.T=0,\qquad c_1=c_2=0. Because there is no carry from the units column, A+A=SA+A=S and so 2A<102A < 10, i.e., A≤4.A\leq 4.

We already know F=1F=1, and different letters must represent different digits, so A≠1A\neq1.

Now consider the hundreds column. There is no incoming carry there either, so it gives A+A=CA+A = C, But the units column already told us A+A=SA+A=S, so C=SC=S which is impossible because different letters must stand for different digits. So the T=0T=0 possibility cannot occur.

We must therefore have T=9,c1=c2=1T=9,c_1=c_2=1.

The remaining digits

The units column gives A+A=S+10A+A = S+10, so S=2A-10. In particular A≥5A\geq5. The hundreds column gives A+A+1=C+10c3A+A+1=C+10c_3where c3c_3 is the carry into the thousands column.

Since A≥5A\geq5 this produces a carry, so c3=1c_3 = 1 and C=2A−9C = 2A-9.

Now examine the thousands column: D+D+1=A+10D+D+1 = A+10. Thus

2D+1=A+10.2D+1=A+10.

So AA must be odd and the possible values of AA are 5, 7 or 9: it cannot be 9 because T=9T=9. If A=5A=5, then 2D+1=152D+1=15 so D=7D=7. But the units column would give S=0S=0, and the hundreds column would give C=1C=1. Since F=1F=1, that repeats a digit, so A=5A=5 is impossible and we must have A=7A=7 giving D=8D=8.

The units and hundreds columns then give S=4,C=5S=4, C=5 and all the digits are different as required.

D=8,A=7,T=9,F=1,C=5,S=4.D=8,\quad A=7,\quad T=9,\quad F=1,\quad C=5,\quad S=4.

Lo and behold, the only possible solution does in fact work,

  8 7 9 7
+ 8 7 9 7
---------
1 7 5 9 4

So our fraudster’s attempt at clever bookkeeping was not quite clever enough.

Report a problem