During the competition, I found the first few 'fair and square' numbers, then searched for them in Sloane's encyclopedia of integer sequences. Its page < suggests the 'sum of squares of digits is less than 10' condition is necessary as well as sufficient, but doesn't give a proof. It's not obvious to me either.
Edit: Google posted a proof by contradiction at