genfunc
termscale
determine the result of multiplying a generating function by a polynomial
Calling Sequence
Parameters
Description
Examples
termscale(pz, z, fn, n)
pz
-
polynomial in z
z
name, polynomial variable
fn
expression for the nth term in a sequence
n
name, index variable for fn
This function shifts and scales fn to determine the sequence encoded by the product of pz and the generating function of fn.
The command with(genfunc,termscale) allows the use of the abbreviated form of this command.
with⁡genfunc:
termscale⁡1+a⁢z,z,n⁢2n⁢t⁡n+n2⁢t⁡n−1,n
a⁢n−1⁢2n−1⁢t⁡n−1+n−12⁢t⁡n−2+n⁢2n⁢t⁡n+n2⁢t⁡n−1
See Also
genfunc/rgf_charseq
genfunc/rgf_expand
genfunc/rgf_relate
Download Help Document