I am trying to find the solution to the following recurrence for polynomials: \begin{align*} h^{[0]}(z) &= z \\ h^{[n+1]}(z) &= z h^{[n]}(z) (z+z^2+...+z^{n+1}) +z \end{align*} I calculated the first polynomials, yet couldn't find any obvious pattern (neither could I find it with the help of OEIS). Also my limited Maple-knowledge wasn't enough to find a solution (I tried rsolve, but I guess I don't understand the syntax for polynomials completely).
Is there a closed-form expression for these polynomials? And how can I solve such recurrences with Maple or Mathematica?
Fortunately that summation term
z+z^2+...+z^(n+1)can be put into a closed form. Otherwise you might have to combine what can be thought of as a mixed pair of recurrences.That summation term can be dealt with by either
rsolveor, more simply, thesumcommand.p:=sum(z^i,i=1..n);
simplify( p - palt );
Now we can solve the problem. Below, I'll focus on finding h(n).
where
solhas products and summations (withnin the index bounds) but is no longer a recurrence relation.We may test that result for a few cases of
n, by comparing with a recursive procedure set up to compute similar to the original recurrence.It's your choice whether to put the results into expanded, factored, or otherwise simplified form.