genfunc[rgf_term] - finds values of terms in a sequence
|
Calling Sequence
|
|
rgf_term(Fz, z, n)
|
|
Parameters
|
|
Fz
|
-
|
rational generating function of z
|
z
|
-
|
name, generating function variable
|
n
|
-
|
integer, index of term to evaluate
|
|
|
|
|
Description
|
|
•
|
This procedure finds the value of the nth term in the sequence encoded by the generating function Fz.
|
•
|
The value FAIL is returned if Fz is a trivial rational generating function.
|
•
|
The command with(genfunc,rgf_term) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?