Fun with digits

Let A A be a 2 n 2n -digit number whose digits are all 1 1 's and let B B be a n n -digit number whose digits are all 2 2 's.

Then which of the following options is true :

A B 2 AB - 2 is a prime number A B A-B is a perfect square A 2 B 2 A^2 - B^2 is a perfect cube A B + 1 AB + 1 is a perfect cube

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Danish Ahmed
Jan 10, 2015

A = 1 0 2 n 1 9 A = \dfrac{10^{2n} - 1}{9} and B = 2 ( 1 0 n 1 ) 9 B = \dfrac{2(10^n - 1)}{9}

A B = 1 0 2 n 1 9 2 ( 1 0 n 1 ) 9 = 1 0 2 n 2 1 0 n + 1 9 = ( 1 0 n 1 ) 2 3 2 = ( 3 ( 1 0 n 1 ) 9 ) 2 \begin{aligned}A - B &= \dfrac{10^{2n} - 1}{9} - \dfrac{2(10^n - 1)}{9}\\ &= \dfrac{10^{2n}-2*10^n+1}{9}\\ &= \dfrac{(10^n - 1)^2}{3^2}\\ &= (\dfrac{3(10^n - 1)}{9})^2\\ \end{aligned}

Since 1 0 n 1 9 \dfrac{10^n - 1}{9} is an integer so A B A - B is a perfect square.

A B = ( 333....33 ) 2 A - B = (333....33)^2 thus the square root of A-B consist of n n 3's.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...