Of all the natural numbers from 1 to 2006, how many times 72 are perfect squares? I know the answer is 31, but I don't know how to get the result

Of all the natural numbers from 1 to 2006, how many times 72 are perfect squares? I know the answer is 31, but I don't know how to get the result

72=(2*2)*(3*3)*2
therefore
Complete square number (set as n * n) * 2 * 72) = = (2 * 2) * (3 * 3) * (2 * 2) * (n * n)
It's still a perfect square
therefore
N * n * 2 should be less than 2006
In other words, there are 31 complete squares less than 1003 (32 * 32 = 1024)