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

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

withgenfunc:

rgf_term112z,z,100

1267650600228229401496703205376

(1)

rgf_termz1z2,z,1001

1001

(2)

rgf_term11az,z,26

a26

(3)

rgf_term11yyz,z,58

y58y159

(4)

See Also

genfunc

genfunc/rgf_expand