Consider all 45-digit positive integers with one digit that is a 1, two digits that are 2s, three digits that are 3s, and so on up to nine digits that are 9s. Does there exist at least one integer of this form that is a perfect square?
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.
A perfect square must be congruent to one of 0, 1, 4, or 7 modulo 9. Since a number is congruent to its digit sum modulo 9, any number of the form described in the problem is congruent to
1 ( 1 ) + 2 ( 2 ) + 3 ( 3 ) + ⋯ + 9 ( 9 ) ≡ 6 9 ( 1 0 ) ( 1 9 ) ≡ 1 5 ( 1 9 ) ≡ 6 ( m o d 9 ) .
We conclude that no , no such integer can be a perfect square.