genfunc[rgf_charseq] - find characteristic sequence of a rational generating function
|
Calling Sequence
|
|
rgf_charseq(Fz, z, Fn, n)
|
|
Parameters
|
|
Fz
|
-
|
rational generating function
|
z
|
-
|
name, generating function variable
|
Fn
|
-
|
expression for nth term of the sequence encoded by Fz
|
n
|
-
|
name, index variable for Fn
|
|
|
|
|
Description
|
|
•
|
This command returns the characteristic sequence of Fz as a function of Fn.
|
•
|
The characteristic generating function Cz of Fz is defined as:
|
|
The sequence encoded by Cz is the characteristic sequence of Fz.
|
•
|
The value FAIL is returned if Fz is a trivial rational generating function.
|
•
|
The command with(genfunc,rgf_charseq) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?