Last year, we saw cryptarithms — puzzles where each letter stands for a digit, each digit is represented by at most one letter, and the first digit of a number is never 0.
Solve the cryptarithms given below.
(i) \(\begin{array}{c} A1 \\ +\,1B \\ \hline B0 \end{array}\) (ii) \(\begin{array}{c} AB \\ +\,37 \\ \hline 6A \end{array}\) (iii) \(\begin{array}{c} ON \\ ON \\ +\,ON \\ \hline PO \end{array}\) (iv) \(\begin{array}{c} QR \\ QR \\ +\,QR \\ \hline PRR \end{array}\)
Show solutionHide solution
In each cryptarithm, different letters stand for different digits, the same letter stands for the same digit, and a leading digit is never 0.
(i) \(\begin{array}{c} A1\\ +\,1B\\ \hline B0\end{array}\)
Adding the units digits: \(1+B\) ends in 0, so \(B=9\) (with a carry of 1 to the tens column). In the tens column, \(A+1+1\) (the extra 1 is the carry) must give the two-digit result \(B0=90\). Thus \(A+2=9\), so \(A=7\). Check: \(71+19=90\). Hence \(A=7,\ B=9\).
(ii) \(\begin{array}{c} AB\\ +\,37\\ \hline 6A\end{array}\)
Units column: \(B+7\) ends in \(A\). Tens column: \(A+3\) plus any carry from the units column equals 6. Since \(A\) is a leading digit, \(A\neq 0\).
If there is no carry from the units column, then \(A+3=6\), so \(A=3\). Then \(B+7\) ends in 3, which forces \(B=6\) (since \(6+7=13\)). Check: \(36+37=73\), not \(63\), so this fails.
Therefore there is a carry of 1 from the units column. Then \(A+3+1=6\), so \(A=2\). Now \(B+7\) ends in 2, so \(B=5\) (since \(5+7=12\)). Check: \(25+37=62\). Hence \(A=2,\ B=5\).
(iii) \(\begin{array}{c} ON\\ ON\\ +\,ON\\ \hline PO\end{array}\)
Here \(ON\) is a two-digit number, so \(O\neq 0\). The sum is \(3\times ON=PO\), a two-digit number, so \(ON\le 33\). Also \(P\) is a leading digit, so \(P\neq 0\).
Let \(ON=10O+N\). Then \(3(10O+N)=10P+O\), i.e. \(29O+3N=10P\).
Since \(ON\le 33\) and \(O\neq 0\), the tens digit \(O\) is 1, 2 or 3.
If \(O=1\): \(29+3N=10P\). The left side is between 29 and 56, so \(P\) is 3, 4 or 5. Checking \(3N=10P-29\): for \(P=3\), \(3N=1\) (no); for \(P=4\), \(3N=11\) (no); for \(P=5\), \(3N=21\), so \(N=7\). This gives \(ON=17\), \(PO=51\), and indeed \(17+17+17=51\).
If \(O=2\): \(58+3N=10P\). The left side is between 58 and 85, so \(P\) is 6, 7 or 8. For \(P=6\), \(3N=2\) (no); for \(P=7\), \(3N=12\), so \(N=4\). This gives \(ON=24\), \(PO=72\), and indeed \(24+24+24=72\). For \(P=8\), \(3N=22\) (no).
If \(O=3\): \(87+3N=10P\). The left side is between 87 and 114, so \(P\) is 9 or 10; \(P=10\) is not a digit. For \(P=9\), \(3N=3\), so \(N=1\). This gives \(ON=31\), \(PO=93\), and indeed \(31+31+31=93\).
Thus the cryptarithm has three solutions: \(O=1,N=7,P=5\); \(O=2,N=4,P=7\); and \(O=3,N=1,P=9\). In each, the letters represent different digits, as required.
(iv) \(\begin{array}{c} QR\\ QR\\ +\,QR\\ \hline PRR\end{array}\)
Here \(QR\) is a two-digit number, so \(Q\neq 0\), and \(P\neq 0\). The sum is \(3\times QR=PRR\).
Units column: \(3R\) ends in \(R\). The digit \(R\) satisfies \(3R\equiv R\pmod{10}\), i.e. \(2R\equiv 0\pmod{10}\), so \(R=0\) or \(R=5\).
If \(R=0\): the units column gives 0 with no carry. The tens column then gives \(3Q\) ending in 0, so \(Q=0\), which is not allowed because \(Q\) is a leading digit. So \(R\neq 0\).
Hence \(R=5\). Then \(3R=15\), so the units digit is 5 and there is a carry of 1. The tens column gives \(3Q+1\) ending in 5, so \(3Q\) ends in 4, which forces \(Q=8\) (since \(3\times 8=24\)). Then \(3Q+1=25\), so the tens digit is 5 and there is a carry of 2 to the hundreds column. Thus \(P=2\). Check: \(85+85+85=255\). Hence \(Q=8,\ R=5,\ P=2\).