How many positive integers less than 555 are either a perfect cube or a perfect square?

Take the square root of 555:

Sqrt(555) = 23 - perfect squares under 555

Cube root(555) = 555^1/3 =8 - perfect cubes under 555.

Note: 1 and 64 are shared as both perfect squares and perfect cubes.