How many perfect cubes are there from 1 to 500? How many are perfect squares among these cubes?
13 = 1
23 = 8
33 = 27
43 = 64 = 82
53 = 125
63 = 216
73 = 343
83 = 512
Thus, there are 7 perfect cubes from 1 to 500 and 64 is the only perfect square.