Find the number of integer values of k in the closed interval [-500,500] for which the equation \log (k x)=2 \log (x+2) has exactly one real solution.
Find the number of integer values of k in the closed interval [-500,500] for which the equation \log (k x)=2 \log (x+2) has exactly one real solution.