Question: solving differential equation but only returning recurrence relation

Is it possible when solving a differential equation to get the corresponding recurrence relation of the series expansion instead of the actual solution?

e.g.

ode:=y''=omega^2*y(x)

the solution is obviously exp(\pm omega*x)

But I want

a_(n+2) = omega^2/(n+1)(n+2) * a_n

or something like that

Please Wait...