I have this recursion


for undefined coefficients $a_k\in\Bbb C$. I want to see the structure of the coefficients $b_n$ in terms of the $a_k$ only. How I can do that in mathematica?

This code

RSolve[b[n] == -a[n] - Sum[b[n - k]*a[k], {k, 1, n - 1}], b[n], n]

wont help.

P.S.: the recursion, probably, is not solvable as a closed expression defined by the $a_k$, I dont know... but I want to see some examples to guess it structure, if possible.


1 Answer 1


You can simply expand it out if you just want to look for patterns yourself

b[n_] := b[n] = -a[n] - Sum[a[k] b[n - k], {k, n - 1}]
Column@Table[ExpandAll@b[n], {n, 5}]

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.