Different Square Difference

Find the largest three-digit number such that the number minus the sum of its digits is a perfect square.


The answer is 919.

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

Omkar Kulkarni
Dec 26, 2014

Let the digits of the number be a , b a, b and c c . The value of the number becomes 100 a + 10 b + c 100a + 10b + c .

So the number minus the sum of its digits is

100 a + 10 b + c ( a + b + c ) 100a + 10b + c - ( a + b + c)

= 99 a + 9 b = 99a + 9b

= 9 ( 11 a + b ) = 9 ( 11a + b )

Now, as 9 is already a perfect square, we need 11 a + b 11a + b to be a perfect square. We also need its maximum value.

Remember that a and b are digits. Their maximum value will be 9.

Since a a is the hundreds digit, taking a = 9 a=9 will have a greater value than taking b = 9 b=9 .

So 11 a + b 11a+b becomes 99 + b 99 + b .

As b is also a digit, the maximum value of b is 9. But the only value of b for which 99 + b 99+b is a perfect square is 1. So b = 1 b=1 .

The maximum value of c we can take is 9, again as c is a digit.

So the number is 919 \boxed{919}

Arpita Gupta
Jan 19, 2015

Let h = the hundreds digit Let t = the tens digit Let u = the units (or ones) digit

Then the number = 100h+10t+u Sum of the digits = h+t+u

The number - sum of digits) = perfect square.

100h+10t+u - (h+t+u) = perfect square

100h+10t+u - h-t-u = perfect square

99h+9t = perfect square

This shows that the solution is independent of u. Since we are looking for the largest three digit number, we will therefore take u=9

9(11h+t) = perfect square

So the perfect square must be a square root divisible by 9 So its square root must be divisible by 3.

Since V999 = 31.6... the largest 3-digit perfect square is 31² or 961. The largest number that does not exceed 31 that is divisible by 3 is 30. so 30 is a candidate for the square root, and 30² or 900 is a candidate for the perfect square we are looking for:

9(11h+t) = 900

llh+t = 100

   t = 100-11h

All digits are less than 10, so

      t < 10
100-11h < 10
   -11h < -90
      h > 8.18...

The only digit larger than 8.18... is 9, so h = 9

   t = 100-11(9) = 100-99 = 1

Checking: 919 has sum of digits 9+1+9 = 19

919-19 = 900 = 30²

Answer: 919

copied from http://www.algebra.com/algebra/homework/word/misc/Miscellaneous Word Problems.faq.question.826855.html it would have been easier if u just pasted the link. :P

Rohit Ner - 6 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...