I have an ordinary differential equation and want to solve it using power series as ψ[x_] = Sum[Subscript[a, n] x^n, {n, 0, ∞}]
to obtain the recurrence relation for coefficients $a_n$ like $A \, a_{n+1}+B \, a_{n-1}+C \, a_{n}=0$. Is Mathematica able to do that?
x^2 ψ''[x] + (b x^2 + c x + d) ψ'[x] + (f x + g) ψ[x] == 0
ResourceFunction["FrobeniusDSolveFormula"]
appears to do what you need. $\endgroup$d = 0
is required to apply it to the present ODE. This is consistent with my answer below, which suggests that the ODE's symbolic solution has an essential singularity atx = 0
. $\endgroup$