rgf_term - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


genfunc

  

rgf_term

  

finds values of terms in a sequence

 

Calling Sequence

Parameters

Description

Examples

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

> 

with⁡genfunc:

> 

rgf_term⁡11−2⁢z,z,100

1267650600228229401496703205376

(1)
> 

rgf_term⁡z1−z2,z,1001

1001

(2)
> 

rgf_term⁡11−a⁢z,z,26

a26

(3)
> 

rgf_term⁡11−y−y⁢z,z,58

−y58y−159

(4)

See Also

genfunc

genfunc/rgf_expand