PrepShorts · Study sheet · Class 6 Mathematics · Chapter 3, Number PlayPrepShorts

Chapter 3 · Number Play

Palindromes, and why reverse-and-add usually lands on one

यह वीडियो हिंदी में भी · Watch in Hindi

Playing with digits11 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

11 min.

Also recorded in Hindi.Englishहिन्दी

Add a two-digit number to its reverse and you always get eleven lots of its digit sum — which is symmetric by construction. That one fact explains every reverse-and-add example in the chapter, and where the whole thing breaks.

The idea

A palindrome is a fact about how a number is written, not about how big it is — so it is the first property in this book that belongs to the notation rather than to the quantity. Reverse-and-add is a machine for manufacturing that written symmetry, and it very nearly cannot fail: adding a two-digit number to its mirror gives eleven lots of its digit sum, which is symmetric by construction. The only thing that can spoil it is a digit column overflowing. That is why most two-digit starts finish in one step, why the awkward ones take a second, and why the same question asked one digit higher is still unanswered.

What you should be able to do

  • Decide whether a given number is a palindrome
  • Write down all the palindromes of a given length using a restricted set of digits
  • Count those palindromes by choices per position rather than by listing
  • Carry out one round of reverse-and-add and say whether to stop
  • Repeat the procedure until a palindrome appears, keeping a record of the rounds
  • Show that adding a two-digit number to its reverse always gives eleven lots of its digit sum
  • Use that to explain why some starts finish in one round and others do not
  • State what the book's footnote claims for two-digit and for three-digit starts, and mark which of the two is settled
  • Solve a digit-clue puzzle whose answer is a five-digit palindrome, and justify that the answer is the only one

Words to know

TermDefinition in one lineFirst introduced
palindromea number written the same way whichever end you start from§3.5, p.61 — printed there in bold
palindromic numberthe book's alternative name for the same thing§3.5, p.61 — printed there in bold, beside palindromes
reversethe number obtained by writing the same digits in the opposite order§3.5, p.61 — printed there, in the steps to follow
reverse-and-addadding a number to its reverse, and repeating until a palindrome appears§3.5, p.61 — printed there as the bold sub-heading Reverse-and-add palindromes
odd numbera number whose last digit is 1, 3, 5, 7 or 9§3.5, p.62 — printed there, in the second puzzle clue
Explorethe book's own label for an open-ended investigation prompt§3.5, p.62 — printed there as a block heading
Puzzle timethe book's own label for the clue-based puzzle that closes the section§3.5, p.62 — printed there as a block heading
tththe leftmost of the book's five place labels — tth, th, h, t and u — used by the puzzle clues§3.5, p.62 — printed there above the puzzle's five boxes, with the other four
column overflowthe explanation's name for a digit column adding past nine and pushing into the nextan added term, not printed anywhere in the book
roundone complete reverse-and-add, used for counting how long a start takes§3.7, p.65 — printed there, in the closing question about the Kaprekar constant

Where people slip up

  • "A palindrome has to have an odd number of digits so it has a middle." 66 and 1111 are in the book's own opening list and neither has a middle digit.
  • "Palindromes are rare." Between 1 and 1000 there are quite a few, and the restricted-digit exercise produces nine from three digits alone. Rare is the wrong intuition; structured is the right one.
  • "Reverse-and-add is a trick with no reason behind it." For two-digit starts the reason is one line of arithmetic. Show it, or the section is just button-pushing.
  • "If it did not work in one round it will never work." 48 and 76 both fail the first round and succeed on the second. The book puts them beside the one-round cases precisely to head this off.
  • "Two-digit starts finish quickly." Most do. Two of them do not, and the book warns about this in the sentence before the Explore box — see Notes for how far the worst case actually runs. An explanation that shows only 34 and 29 misrepresents the section's own hedge.
  • "The footnote says reverse-and-add always works." It says so for two-digit starts only. For three digits it says the opposite: nobody knows. Conflating those two claims is the single easiest error to make on this page.
  • "196 has been proved never to work." It has not. The footnote's word is suspected, and it is the right word.
Transcript1,432 words

Here are five numbers. Sixty-six. Eight hundred and forty-eight. Five hundred and seventy-five. Seven hundred and ninety-seven. And one thousand one hundred and eleven. They share a property, and your book wants you to spot it before it tells you. Notice first what it cannot be. They are different lengths. Two digits, three digits, four digits. So whatever the property is, it does not care how many digits a number has.

And they are all over the place in size. Sixty-six and eleven hundred and eleven are not near each other. So it is not about size either. Have a proper look before I say it. Here it is. Read each one out backwards, digit by digit, and nothing changes. Sixty-six backwards is six six. The same number. Eight four eight backwards is eight four eight. The same. Five seven five. Seven nine seven. One one one one. All of them the same in reverse.

A number like that is called a palindrome. And here is what makes this genuinely new, and worth stopping on. Every property you have met so far has been about the quantity. Even, odd, bigger, smaller, a multiple of three. This one is about the writing. It is a fact about the symbols on the page, not about the amount. That has not been true of anything else in this book.

Your book gives you a small exercise. Using only the digits one, two and three, write down every three-digit palindrome you can. It shows you three of them to get you started. One two one. Three one three. Two two two. Now, you could hunt around for the rest. But we just spent a whole video learning not to hunt. Think about the positions instead. There are three of them. Front, middle, back.

But being a palindrome ties the front and the back together. Whatever you put at the front, the back has to match it. So you really only get two free choices. What sits at the ends, and what sits in the middle. Front and back. You choose once, and you have three digits to choose from. Three choices. Middle. Three digits available, and completely independent of the ends. Three choices.

Three times three. Nine. And here they are. One one one, one two one, one three one, two one two, two two two, two three two, three one three, three two three, three three three. Nine, exactly as predicted. Same move as last time. Fix a position, count what can stand there, multiply. The only new thing is that being a palindrome removed a position from the count, because the last digit was never free.

Now the part of the section that is genuinely a machine. Take any number. Write it down. Write it again backwards. Add the two together. If what you get is a palindrome, stop. If it is not, do the same thing again to the answer. That is the whole procedure. It is called reverse-and-add. And the surprising thing, which your book wants you to discover for yourself, is how often it works, and how fast.

So let's run it. Start with thirty-four. Backwards, that is forty-three. Thirty-four plus forty-three is seventy-seven. Seventy-seven is a palindrome. Done, in one round. Try twenty-nine. Backwards is ninety-two. Twenty-nine plus ninety-two is a hundred and twenty-one. One two one. Palindrome. Also one round. And that is not luck. Of the ninety two-digit numbers you could start with, nine are already palindromes, and forty-nine more finish in a single round.

So more than half the time, one addition is all it takes. But not always. Try forty-eight. Forty-eight plus eighty-four is a hundred and thirty-two. One three two. Not a palindrome. So we go again. A hundred and thirty-two backwards is two three one. Add them, and you get three hundred and sixty-three. Three six three. Palindrome. Two rounds. Same story with seventy-six. Seventy-six plus sixty-seven is a hundred and forty-three. Not a palindrome.

A hundred and forty-three plus three four one is four hundred and eighty-four. Palindrome. Two rounds. So why did those two need a second go when thirty-four and twenty-nine did not? Your book leaves that hanging. Let's answer it. Take any two-digit number. Call its tens digit a, and its units digit b. The number itself is ten a, plus b. Written backwards, it is ten b, plus a. Add those together and you get eleven a plus eleven b. Which is eleven times a plus b.

And a plus b is just the digit sum. So a two-digit number plus its reverse is always eleven lots of its digit sum. Always. Check it. Thirty-four. Three plus four is seven, and eleven sevens is seventy-seven. Correct. Twenty-nine. Two plus nine is eleven, and eleven elevens is a hundred and twenty-one. Correct. Forty-eight. Four plus eight is twelve, and eleven twelves is a hundred and thirty-two. Correct. One line of algebra, and every printed example is accounted for.

Now we can say exactly when it finishes in one round. Eleven times something is symmetric by construction. Eleven sevens is seventy-seven — a seven in the tens column and a seven in the units column. A palindrome for free. But that only holds while the digit sum stays under ten. Because eleven twelves would want a twelve in the tens column and a twelve in the units column. And a column cannot hold twelve. It overflows into the next one along, and the symmetry breaks.

So: digit sum under ten, and you finish in one round. Digit sum of ten or more, and you will usually need another. Here is what eleven times ten and upwards actually gives. A hundred and ten. A hundred and twenty-one. A hundred and thirty-two, and so on, up to a hundred and ninety-eight. Look at that list. Exactly one of them is a palindrome — a hundred and twenty-one. And that is the whole explanation.

So how long can this run? Your book warns you that some starts take a while. Among two-digit starts, most are done in one round or two. A handful take three, four, or six. And then there are two that take twenty-four. Eighty-nine. And ninety-eight, which is just eighty-nine backwards, so of course it behaves the same way. Twenty-four rounds. The numbers get enormous on the way, and then it lands.

If you have a spare page, that one is genuinely worth doing by hand. Now the part that makes this section special, and it is hidden in a footnote at the bottom of the page. The book asks whether a two-digit start always ends up at a palindrome. For two-digit starts, yes. All ninety of them get there. And then it says something remarkable. For three-digit starts, nobody knows. That is not a textbook being cautious. That is genuinely unsolved mathematics, printed in a Class Six book.

And it names the suspect. One hundred and ninety-six. People have run one ninety-six for hundreds of millions of rounds. It has never produced a palindrome. And nobody has proved that it never will. The question is still open. So you have just met the edge of what is known, using nothing but adding up. Last, a puzzle, and it is a good one, because every clue takes something away.

Five boxes, labelled from the left: ten thousands, thousands, hundreds, tens, units. Clue one: the answer is a five-digit palindrome. So the ten-thousands digit equals the units digit, and the thousands digit equals the tens digit. Clue two: it is odd. So the last digit is odd. Clue three: the tens digit is twice the units digit. Clue four: the hundreds digit is twice the tens digit. Now chain them together. The units digit is odd, so it is one, three, five, seven or nine.

The tens digit is twice that, and it has to fit in one box. Twice five is ten, which is too big. So the units digit is one or three. The hundreds digit is twice the tens, which is four times the units. Four threes is twelve, too big again. So the units digit is one. And now everything falls out. Units, one. Tens, two. Hundreds, four. And by the palindrome rule, thousands is two and ten-thousands is one.

Twelve thousand, four hundred and twenty-one. And it is the only number that fits, because every other route ran into a digit bigger than nine. Next time, a process that does not just usually land somewhere. It always lands on exactly the same number. Six one seven four.

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

Comes up again in

The book

Open in a new tab