Easily square numbers from 901 to 999.
{% scaleimage l314_example.png %}
Subtract the number from 1000.
Square the result of step 1.
If the result in step 2 is less than 100 then add a zero to the beginning.
Subtract the result in step 1 from the original number.