Square digits

Number Theory Level pending

x x is the smallest 3-digit positive integer such that x 2 x^{2} has last three digits of ...396. What is the sum of the digits of x x ?

7 6 8 9

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

Well Max
Mar 26, 2015

Let x = 100 a + 10 b + c x = 100a + 10b + c , where a, b, and c are single digit positive integers.

What do we know? x 2 x^{2} has to end in 396 396 , so it has to end in 96 96 . Let's focus on b b and c c for now and come back to a a later.

Whatever a a is, ( 10 b + c ) 2 (10b+c)^{2} must end in 96. Expanding, we get 100 b 2 100b^{2} + 20 b c + c 2 = . . . 96 20bc + c^{2} = ...96 . We know that 100 b 2 100b^{2} is not going to affect the last two digits as it is already at least 100. That gives us 20 b c + c 2 = . . . 96 20bc + c^{2} = ...96 . Because c c is a single digit, it must be either 4 4 or 6 6 for the expression to end in 6 because 20 b c 20bc will only affect the tens digit. Casework:

c = 4 c = 4 ,

80 b + 16 = . . . 96 80b + 16 = ...96 ,

80 b = . . . 80 80b = ...80 . From this, we can see that b b is either 1 or 6, giving us 2 cases.

c = 6 c=6 ,

120 b + 36 = . . . 96 120b + 36 = ...96 ,

120 b = . . . 60 120b = ...60 . From this we can see that b b can be 3 or 8, giving us 2 more cases.

We know that the three digit number x x has to end in 14, 16, 36 or 86. Now we use a a , so more casework:

( 100 a + 14 ) 2 = . . . 396 (100a + 14)^{2} = ...396 ,

10000 a 2 + 2800 a + 196 = . . . 396 10000a^{2} + 2800a + 196 = ...396 .

10000 a 2 10000a^{2} clearly won't affect the hundreds, tens, or ones digit, so we can throw that out.

2800 a + 196 = . . . 396 2800a + 196 = ...396 ,

2800 a = . . . 200 2800a = ...200 . From this, we can see that a a must be 4 4 , giving us one answer, 414 414 .

We should still check the others to make sure we have the smallest, though.

Similar expansions with 100 a + 64 100a + 64 and 100 a + 36 100a + 36 give:

12800 a = . . . 700 12800a = ...700 , from which we can see no value of a a will make 8 into 7, and

7200 a = . . . 100 7200a = ...100 , from which we can also see no value of a a will make 2 into 1.

Expansion with ( 100 a + 86 ) 2 (100a + 86)^{2} gives 10000 a 2 + 1720 a + 7396 = . . . 396 10000a^{2} + 1720a + 7396 = ...396 ,

so 1720 a = . . . 000 1720a = ...000 , so a a can be 0 or 5. But wait! x x has to be 3-digit, so a a cannot be 0. That gives us only one more answer, 586.

414 is clearly less than 586. Therefore, our answer is 414 414 and the sum of the digits is 9 \boxed{9} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...