Unique 1

Five-digit number 2 a 9 b 1 \overline{2a9b1} is a perfect square.

Find the value of a b + b a a^b+b^a .


The answer is 57.

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.

2 solutions

Chew-Seong Cheong
May 14, 2019

Let positive integer N = 2 a 9 b 1 N = \sqrt{\overline{2a9b1}} . Then the range of N N is given by: 20901 N 29991 \left \lceil \sqrt{20901} \right \rceil \le N \le \left \lfloor \sqrt{29991} \right \rfloor or 145 N 173 145 \le N \le 173 . Then N N is a 3-digit integer of the form N = 1 m n N = \overline{1mn} . Since the perfect square 2 a 9 b 1 \overline{2a9b1} ends with 1, n n can only be 1 1 or 9 9 and m = 4 , 5 , 6 , 7 m=4,5,6,7 .

For n = 1 n=1 , then ( 101 + 10 m ) 2 = 10201 + 2020 m + 100 m 2 = 2 a 9 b 1 (101+10m)^2 = 10201 + 2020m + 100m^2 = \overline{2a9b1} . Equating the hundredth digit on both sides, we have:

20 m 100 + 100 m 2 100 m o d 10 + 2 = 9 m 5 + m 2 m o d 10 = 7 m = 6 \begin{aligned} \left \lfloor \frac {20m}{100} \right \rfloor + \left \lfloor \frac {100m^2}{100} \right \rfloor \bmod 10 + 2 & = 9 \\ \left \lfloor \frac m5 \right \rfloor + m^2 \bmod 10 & = 7 \\ \implies m & = 6 \end{aligned}

Then N = 161 N = 161 and N 2 = 16 1 2 = 25921 N^2 = 161^2 = 25921 , acceptable.

For n = 9 n=9 , then ( 109 + 10 m ) 2 = 11881 + 2180 m + 100 m 2 = 2 a 9 b 1 (109+10m)^2 = 11881 + 2180m + 100m^2 = \overline{2a9b1} . Equating the hundredth digit on both sides,

( 18 m + 88 10 + m 2 ) m o d 10 = 9 ( 9 m + 44 5 + m 2 ) m o d 10 = 9 \begin{aligned} \left(\left \lfloor \frac {18m+88}{10} \right \rfloor + m^2 \right) \bmod 10 & = 9 \\ \left(\left \lfloor \frac {9m+44}5 \right \rfloor + m^2 \right) \bmod 10 & = 9 \end{aligned}

where m = 4 , 5 , 6 m = 4,5,6 . For m = 4 , 5 , 6 m=4, 5, 6 , the LHS = 2 , 2 , 5 (mod 10) \text{LHS} = 2, 2, 5 \text{ (mod 10)} respectively. So there is no solution.

Therefore, N 2 = 25921 N^2 = 25921 , a b + b a = 5 2 + 2 5 = 25 + 32 = 57 \implies a^b + b^a = 5^2 + 2^5 = 25+32 = \boxed{57} .

minimum and maximum of 2 a 9 b 1 = y 2 \overline{2a9b1}=y^2 are 20901 20901 and 29991 29991 , respectively. Using a calculator, the square roots of the number are approximately 144 144 and 173 173 . So y y is either the form 1 x 1 \overline{1x1} or 1 x 9 \overline{1x9} , because the last digit go the square number is 1 1 . Therefore, we need to search 2 × 3 2 \times 3 (because the second digit of 1 x 1 \overline{1x1} or 1 x 9 \overline{1x9} is bounded by 4 4 and 7 7 ) numbers to see which has the form 2 a 9 b 1 2a9b1 , when taken to the power of two. turns out the number is 25921 = 161 25921=161 . Finally calculate a b + b a = 5 2 + 2 5 = 57 a^b+b^a=5^2+2^5=57

Is there any other way than checking all 6 numbers? I also did same

Mr. India - 2 years ago

Log in to reply

Oh, u did the same? :) Well, this is an easy approach, with a bit of reasoning to narrow down the possibilities. But I suppose there should be better approaches.

But he wrote 144 < root < 174, then it must be just six checking to be done, right?

Saya Suka - 2 years ago

Log in to reply

oh, did I tell you, you are smart? thanks for pointing out, cause I kinda ignored the fact. I have edited the solution

Ya you are right

Mr. India - 2 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...