So we have this problem in mathematical physics. We are asked to find the general solution for the ODE $$ (x^2)y''+(x)y'-(n^2)y=0 $$ for integer $n$.
But this is what I tried to do. I let $$ y=x^p\\ y'=px^{p-1}\\ y''=p(p-1)x^{p-2} $$ Then substituted it back to the original equation, $$ (x^2)p(p-1)x^{p-2}+xpx^{p-1}-n^2x^p=0 $$ So I have $$ x^p(p^2-n^2)=0 $$ And there, i'm stuck. My answer is
$$ C_1x^{p_1}+C_2x^{p_2}=y(x) $$
But is this correct? :'(
You are almost there.
You have $$p^2=n^2 \implies p=\pm n$$
Thus your general solution is $$y=C_1 x^n+C_2 x^{-n}$$