PrepShorts · Study sheet · Class 8 Mathematics · Chapter 5, Number Play
Chapter 5 · Number Play
Cracking a cryptarithm by reasoning about digits, not guessing
This video could not be loaded. Reload the page to try again.
Sign in with Google10 min.
Keep your place in this chapter — sign in, it’s free.Sign in
A sum with letters where the digits should be looks like a search. It is not — it is a chain of local facts, each one forced.
The idea
A cryptarithm looks like a search through thousands of digit assignments, and it is nothing of the kind. Place value cuts a written calculation into columns, and each column constrains one digit while passing at most a small amount to its neighbour, so the puzzle is a chain of local facts rather than a haystack. The size of the answer pins down the first digit before anything else is known. And the three rules — one digit per letter, no digit worn by two letters, no leading zero — are not decoration; they are the conditions that convert each observation into a deduction. Every move in a well-solved cryptarithm is a consequence, and the moment you guess you have thrown away the method.
What you should be able to do
- State the three rules a cryptarithm obeys and explain what each one rules out
- Work a written addition column by column, saying what each column determines
- Reason about the amount carried from one column to the next, and bound it
- Use the number of digits in the answer to fix the first digit of a factor
- Use the units digit of a product to eliminate candidate digits
- Reduce a multiplication cryptarithm to a small list of possibilities and then to a solution, justifying every elimination
- Check a completed solution against all three rules and against the arithmetic
- Decide whether a cryptarithm has more than one solution, and say how you know
Words to know
| Term | Definition in one line | First introduced |
|---|---|---|
| cryptarithm | a calculation with letters standing in for digits, to be solved by reasoning | printed in this chapter (Part I, §5.3, p.131) |
| digit | one of the ten symbols a number is written with | printed throughout this chapter |
| units digit | the digit in the ones place | printed in this chapter (Part I, §5.2, p.123) |
| place value | what a digit is worth because of where it stands | printed in this chapter (Part I, §5.2, p.123) |
| product | the result of a multiplication | printed in this chapter (Part I, §5.3, p.132) |
| reasoning | argument that settles a question without checking every case | printed in this chapter (Part I, §5.1, p.115) |
| hundreds | the place value the size argument in this section turns on | printed in this chapter (Part I, §5.3, p.132) |
| carry | an added word for the amount one column passes to the next; not printed in this chapter, which performs the operation without naming it | an added word; not printed in this chapter |
| constraint | the explanation's word for a condition that narrows the possibilities | an added word, not printed |
Where people slip up
- "You solve these by trying combinations." Trying is what the method replaces. Every printed passage in this section moves by consequence: a size bound, a units digit, a rule violation. Model the reasoning out loud, and when the explanation does narrow to a shortlist, say what narrowed it.
- "Every digit must have a letter." The rule runs the other way: no digit may have two letters. Bare digits sit openly inside several of these puzzles, and a student who thinks each of the ten digits needs a letter will read the three-digit puzzle with a 2 in it as broken.
- "The same letter could be a different digit in a different place." It could not. A letter is one digit everywhere it appears, which is exactly why a repeated letter — the two Ps, the three Gs, the W appearing twice — is the most informative thing in a puzzle.
- "Two different letters might happen to be the same digit." Forbidden, and Guna uses that ban directly to eliminate a candidate.
- "A number can start with zero if the arithmetic works." It cannot, and this rule quietly does a lot of work at the top of every puzzle.
- "The amount carried is always one." Adding two digits can pass at most one; adding three can pass two; multiplying can pass considerably more. Bound the carry from the actual operation rather than from habit.
- "Finding one solution finishes the job." Some of these puzzles have more than one, and a solver who stops at the first has answered a different question. Ask for the argument that no others exist.
Ask your teacher a person
Your teacher reads this and writes back, usually within a day. For an instant answer, use Ask the video in the sidebar.
Your class sees the question and the answer. Only your teacher sees that it was you.
No questions on this topic yet.
Worked answers to this chapter’s exercises · this video explains End-of-Chapter Figure it Out Q15
Transcript1,353 words
A calculation with letters standing where the digits should be. Every letter is one digit, and the job is to work out which. There are three rules, and they are not decoration. One. A letter is the same digit everywhere it appears. Two. Two different letters can never be the same digit. Three. No number in the puzzle starts with a zero. That second rule is worth reading slowly. It forbids two letters from sharing a digit. It does not say every digit needs a letter, which is why bare digits turn up inside these puzzles quite legally.
And the whole thing looks like a search through thousands of possibilities. It is not. Place value is what makes it solvable. Write the calculation in columns, the way you would work it by hand. Now each column is almost its own small problem. The units column involves only the units digits. The tens column involves only the tens digits, plus whatever the units column handed upwards. That is the whole structure. A column touches its own digits and one neighbour, and nothing else at all.
So this is not a haystack. It is a chain of local facts. Work the chain, and the answer falls out of it. Before any puzzle, one thing needs bounding. How much can a column pass to the next one? Add two digits. The most you can have is nine and nine and a carry, which is nineteen. So the column passes at most one. Add three digits. Nine and nine and nine, plus a carry of two, is twenty-nine. So a column passes at most two.
Multiply, and it gets bigger. A digit times eight can reach seventy-two, so that column can pass as much as seven. The carry is one is a habit, not a fact. Bound it from the operation in front of you. Now a puzzle. A two-digit number written A then one, added to a two-digit number written one then B, giving a two-digit answer written B then zero. Start at the units column. Always start there.
One plus B has to end in zero. So B is nine, and that column passes a one upwards. Now the tens column. A, plus one, plus the one carried up, has to come out as B, which we already know is nine. So A is seven. Seventy-one plus nineteen is ninety. Check it. A is seven, B is nine, no two letters share a digit, and nothing starts with a zero.
Two columns, and not one guess anywhere. Here is one where the same number appears three times over. A two-digit number, O then N, written down three times and added, giving a two-digit answer, P then O. The units column is N plus N plus N, and whatever it comes to has to end in O. Work it through, and there are three answers here, not one. Seventeen tripled is fifty-one. Twenty-four tripled is seventy-two. Thirty-one tripled is ninety-three.
All three obey every rule completely. Which is worth knowing, because finding one answer and stopping is answering a smaller question than the one you were asked. Multiplication brings a new kind of constraint, and it is a strong one. A two-digit number, P then Q, multiplied by eight, giving a two-digit answer, R then S. Before touching a single digit, look at the sizes. A two-digit number multiplied by eight is usually three digits. Thirteen eights are a hundred and four.
So there are only three two-digit numbers that stay two digits. Ten, eleven and twelve. That is the entire search, and counting digits is what got us there. Now the rules finish it off. Ten eights are eighty. The units digit of the number is zero and so is the units digit of the answer, so Q and S would be the same digit. Forbidden. Eleven eights are eighty-eight. But then P and Q would both be one. Forbidden.
Twelve eights are ninety-six. P is one, Q is two, R is nine, S is six. All different, and nothing starts with a zero. One answer, and every step that got there was a consequence. Notice how much of the work the size bound did. Three candidates instead of ninety. Then two rule violations, and it was finished. The other sharp tool is the units digit of a product. Whatever the other digits are doing, the units digit of the answer is decided entirely by the units digit you started with.
Multiply anything at all by six, and look at what lands in the units place. Zero, two, four, six, eight. Every one of them even. Six times anything is even, so the units digit of the answer is even, always, with no exceptions. That single observation kills half the digits before you begin. But it does not work for every multiplier. Multiply by three and the units digits come out both even and odd, so you have learnt nothing.
Know which of your tools is actually cutting. Now a harder one. A two-digit number, G then H, multiplied by H, the same letter as its own units digit, giving a two-digit answer, nine then K. So the answer is somewhere in the nineties. Seven products land in the nineties. Eleven nines are ninety-nine, twelve eights are ninety-six, forty-six twos are ninety-two, twenty-four fours are ninety-six, forty-seven twos are ninety-four, thirty-one threes are ninety-three, and sixteen sixes are ninety-six.
First condition. The multiplier has to be the units digit of the number itself. That leaves two of them. Twenty-four fours, and sixteen sixes. Second condition. No two letters share a digit. Sixteen sixes makes H a six, and K a six as well. So it is twenty-four fours are ninety-six. G is two, H is four, K is six. Seven down to two down to one, and every step was a rule rather than a hunch.
One more, with three letters this time. A three-digit number, B, Y, E, multiplied by six, giving a three-digit answer, R, A, Y. Count the digits first. If B were two, then two hundred sixes are already twelve hundred, which is four digits. So B is one. That is settled before anything else is known at all. Next, Y. A hundred and seventy sixes are a thousand and twenty, four digits again. So Y is at most six.
And Y is the units digit of the answer, which is six times E, which we just said is always even. Even, and at most six. That leaves four candidates, and only one survives. A hundred and five sixes are six hundred and thirty. It is worth seeing how much those rules are actually carrying. Take all fifteen puzzles here, and switch off the rule that two letters cannot share a digit.
Five of them stop having a single answer. Switch off the rule against leading zeros instead, and three of them break. The eight puzzle on its own goes from one answer to eight. They are not politeness. They are conditions, and without them most of these are not puzzles at all. The first rule, that a letter is the same digit everywhere, is not optional in the same way. It is what makes a repeated letter the most useful thing on the page.
Two Ps, three Gs, a letter that turns up twice. That is where to look first, every time. Last thing. When you have an answer, check it properly. Does the arithmetic come out? Is every letter one digit throughout? Are all the letters different from each other? Does anything start with a zero? All four, every single time. And then the question people skip. Is it the only one? Of the fifteen puzzles here, twelve have exactly one answer and three have more than one.
The tripled one had three. Another has two. If you stop at the first, you have answered a different question. So the method is this. Bound the sizes. Read the units column. Use the rules to eliminate. Then ask whether anything else survives. There is no guessing anywhere on that list.
Where this fits
Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.
Builds on
- Powers of 10, and place value written out for whole numbers and decimalsClass 8 · Ch 2, Power Play
- Always, sometimes, or never: one counterexample settles itClass 8 · Ch 5, Number Play
Either side of this one
- Digital roots, and what survives repeated digit-summingClass 8 · Ch 5, Number Play
- What happens to a product when you nudge one factorClass 8 · Ch 6, We Distribute, Yet Things Multiply