Write all numbers from 400 to 425 which end in 2, 3, 7 or 8. Check if any of these is a perfect square.
How many numbers are there from 1 to 1000 which are perfect squares as well as perfect cubes?