Question 21Compute the number of positive integers $n \leq 1000$ such that $\operatorname{lcm}(n, 9)$ is a perfect square. (Recall that lcm denotes the least common multiple.)