genfunc - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Rational Expressions : Rational Generating Functions : genfunc/rgf_findrecur

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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam