genfunc
rgf_findrecur
find recurrence for terms in a sequence
Calling Sequence
Parameters
Description
Examples
rgf_findrecur(K, seq, F, n)
K
-
positive integer, order of the recurrence
seq
list of 2⁢K consecutive values from the sequence
F
function name for sequence
n
name, index variable for the recurrence
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.
with⁡genfunc:
rgf_findrecur⁡2,1,2,3,4,t,n
t⁡n=2⁢t⁡n−1−t⁡n−2
rgf_findrecur⁡2,1,2,4,8,s,j
s⁡j=2⁢s⁡j−1
See Also
genfunc/rgf_sequence
rsolve
Download Help Document