Maths Olympiad Prep

Library / Saudi Arabian Mathematical Competitions /24 of 395

Saudi Arabian Mathematical Competitions, 2012

Algebra Difficulty 4.6 AIME Prove it Saudi Arabia

Prove that for every positive integer nn the number
N=44…4⏟n88…8⏟n−133…3⏟n−12, N = \underbrace{44\dots4}_{n} \underbrace{88\dots8}_{n} - 1 \underbrace{33\dots3}_{n-1} 2,
is a perfect square.

Solution

We have
N=44…4⏟n−1355…56⏟n−1=44…4⏟2n−88…8⏟n=4(102n−1+⋯+10+1)−8(10n−1+⋯+10+1)=4⋅102n−19−8⋅10n−19=19(4⋅102n−8⋅10n+4)=(2⋅10n−13)2, \begin{aligned} N &= \underbrace{44\dots4}_{n-1} \underbrace{355\dots56}_{n-1} = \underbrace{44\dots4}_{2n} - \underbrace{88\dots8}_{n} \\ &= 4(10^{2n-1} + \dots + 10 + 1) - 8(10^{n-1} + \dots + 10 + 1) \\ &= 4 \cdot \frac{10^{2n}-1}{9} - 8 \cdot \frac{10^n-1}{9} = \frac{1}{9}(4 \cdot 10^{2n} - 8 \cdot 10^n + 4) \\ &= \left(2 \cdot \frac{10^n-1}{3}\right)^2, \end{aligned}
and we are done, since 10n−13\frac{10^n - 1}{3} is an integer. Notice that, in fact,
N=66…6⏟n2. N = \underbrace{66\dots6}_{n}^2.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.