rgf_findrecur - 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_findrecur

  

find recurrence for terms in a sequence

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

rgf_findrecur(K, seq, F, n)

Parameters

K

-

positive integer, order of the recurrence

seq

-

list of 2K consecutive values from the sequence

F

-

function name for sequence

n

-

name, index variable for the recurrence

Description

• 

This function finds the homogeneous linear recurrence with constant coefficients of order K that is satisfied by seq.

• 

If seq satisfies a recurrence of order less than K, that recurrence is found.

• 

The command with(genfunc,rgf_findrecur) allows the use of the abbreviated form of this command.

Examples

withgenfunc:

rgf_findrecur2,1,2,3,4,t,n

tn=2tn1tn2

(1)

rgf_findrecur2,1,2,4,8,s,j

sj=2sj1

(2)

See Also

genfunc

genfunc/rgf_sequence

rsolve