A perfect square is defined as the square of an integer and a perfect cube is defined as the cube of an integer. How many positive integers n are there such that n is less than 5,000 and at the same time n is a perfect square and a perfect cube? Choose the correct choice: A) 2 B) 3 C) 4 D) 5 E) 6
If n is a perfect square and a perfect cube, then n = a^6 for some integer a.   The numbers are 1^6=1, 2^6=64, 3^6= 729, 4^6=4096.   The answer is 4.
<result>C</result>
A perfect square is defined as the square of an integer and a perfect cube is defined as the cube of an integer. How many positive integers n are there such that n is less than 5,000 and at the same time n is a perfect square and a perfect cube?