gfun
poltorec
determine the recurrence satisfied by a polynomial in holonomic sequences
Calling Sequence
Parameters
Description
Examples
poltorec(P, listrec, list_unknowns, u(n))
P
-
polynomial in n and u1(n), u2(n), ... and possibly their shifts (u1(n+1), u2(n+1), ...) and repeated shifts
listrec
list containing, for each of u1(n), u2(n), ..., either a linear recurrence equation it satisfies or a set containing the equation together with initial conditions
list_unknowns
list of sequences
u
name; holonomic sequence name
n
name; variable of the holonomic sequence u
The poltorec(P, listrec, list_unknowns, u(n)) command returns the recurrence satisfied by the polynomial P.
If , , ... are holonomic sequence solutions of listrec[1], listrec[2], ..., the poltorec function returns a linear recurrence equation satisfied by .
Cassini's identity:
See Also
gfun['rec+rec']
gfun[`rec*rec`]
gfun[parameters]
gfun[poltodiffeq]
Download Help Document