expand rational generating functions
rgf_expand(Fz, z, n)
rational generating function of z
name, the generating function variable
name, the index variable for the expansion of Fz
The function finds the closed form expansion of the nth term in the sequence encoded by the rational generating function Fz.
If the denominator of Fz has polynomial factors of degree greater than two that cannot be factored over the rationals, an inert Sum expression involving RootOf values is returned.
The global variables _J and _R are used in the RootOf expressions.
The command with(genfunc,rgf_expand) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)