Question 49Find all positive integers $n$ for which there exists a polynomial $P(x)$ with integer coefficients such that $P(d) = \left(\frac{n}{d}\right)^2$ for each positive divisor $d$ of $n$.