After casting away nines, the result is 5, was the original integer a square?

This problem’s question: {\color{#D61F06}\text{This problem's question:}} After casting away nines , the result is 5, was the original positive integer a square?

Definition: a square is result of an integer, positive, negative or zero, multiplied by itself.

Hint: read the referenced wiki page and consider in particular the section on multiplication.

No Yes Insufficient information to answer question. This problem is nonsense!

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

Richard Costen
Jul 28, 2019

Let the perfect square be a 2 a^2 or a × a a \times a . Adding up all the digits of a a (also called casting out nines since the result is the remainder after dividing by 9) gives us the “digital sum”. Let the digital sum of a a be n n . Then the wiki page says that the product of the digital sums ( n × n n \times n ) will be the digital sum of the original square, or 5. In short, n 2 = 5 n^2=5 But then n n won’t be a digit, which is impossible. Therefore a perfect square cannot have a digital sum equal to 5.

Consider the result of casting away nines from the squares of the integers from 0 to 9: ( 0 0 0 1 1 1 2 4 4 3 9 9 4 16 7 5 25 7 6 36 9 7 49 4 8 64 1 9 81 9 ) \left( \begin{array}{rrr} 0 & 0 & 0 \\ 1 & 1 & 1 \\ 2 & 4 & 4 \\ 3 & 9 & 9 \\ 4 & 16 & 7 \\ 5 & 25 & 7 \\ 6 & 36 & 9 \\ 7 & 49 & 4 \\ 8 & 64 & 1 \\ 9 & 81 & 9 \\ \end{array} \right)

There is no 5 in the right hand column. Therefore, the original positive integer was not a square. The answer is No .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...