Sequence of perfect squares puzzle


Perfect squares puzzle

Each number in the sequence 49, 4489, 444889, 44448889 is a perfect square. (i.e. the first digits are always 4s, the next digits are 8s but always 1 fewer of them, the units digit is always 9.)

Prove that the numbers are always perfect squares.

Can you find another sequence (of the form XXXXYYYZ like above but different digits) that behaves in the same way?

Reveal Solution
Numbers of the form 66…666, i.e. n 6s, can be written as the sum of geometric progression with first term 6 and common ratio 10.

Therefore,

    \begin{align*} 66...667^2&= (\frac{6\times(10^n -1)}{9}+1)^2 \\ &=\frac{4 \times (10^n -1)^2}{9}+\frac{12 \times(10^n -1)}{9}+1 \\ &=\frac{4 \times(10^{2n} -2 \times 10^n +1}{9}+\frac{12 \times(10^n -1)}{9}+1 \\ &=\frac{4 \times(10^{2n} -1)}{9} - \frac{8 \times (10^n -1)}{9} + \frac{12 \times (10^n -1)}{9} +1 \\ &=\frac{4 \times(10^{2n}-1)}{9}+ \frac{4 \times (10^n-1)}{9}+1 \end{align*}

i.e. a string of 2n 4s plus a string of n 4s plus 1 which will be a number where the first digits are 4s, the next digits are 8s but 1 fewer of them and the units digit is 9. Similarly numbers such as 11115556 will be perfect squares, i.e. the first digits are 1s, the next digits are 5s but 1 fewer of them and the units digit is 6.

Problem Page Coordinator: Stephen Lee CMath MIMA – Mathematics in Education and Industry
Acknowledgement: The IMA are indebted to MEI for sourcing and supplying Mathematics Today with these well-known puzzles.
First published in Mathematics Today (December 2015)
Published