Chapter 37
Squares of All the Digits
How many perfect squares use each of the digits to exactly once?
How many use all ten digits to exactly once?
Write as the difference of two squares.
Solution
Parts 1 and 2. There are squares using the digits to once each, the smallest being and the largest . Allowing the zero as well, there are squares using all ten digits once each, the smallest being . (One checks these by running through the squares in the relevant range; both counts are settled.)
Part 3. Any odd number is a difference of two consecutive squares, since . As is odd, set , so and