sumtools
sumrecursion
Zeilberger's algorithm
Calling Sequence
Parameters
Description
Examples
sumrecursion(f, k, s(n))
f
-
expression
k
name, summation variable
n
name, recurrence variable
s
name, recurrence function
This function is an implementation of Koepf's extension of Zeilberger's algorithm, calculating a (downward) recurrence equation for the sum
∑kfk
the sum to be taken over all integers k, with respect to n if f is an (m,l)-fold hypergeometric term with respect to (n,k) for some m and l. The minimal values for m, and l are determined automatically.
The output is a recurrence which equals zero. The recurrence is a function of n the recurrence variable and sn,....
An expression f is called (m,l)-fold hypergeometric term with respect to (n,k) if
fsubsn=n−m,fandfsubsk=k−l,f
are rational with respect to n and k. This is typically the case for ratios of products of rational functions, exponentials, factorials, binomial coefficients, and Pochhammer symbols that are rational-linear in their arguments. The implementation supports this type of input.
The command with(sumtools,sumrecursion) allows the use of the abbreviated form of this command.
withsumtools
Hypersum,Sumtohyper,extended_gosper,gosper,hyperrecursion,hypersum,hyperterm,simpcomb,sumrecursion,sumtohyper
sumrecursionbinomialn,k3,k,fn
−8n−12fn−2−7n2−7n+2fn−1+fnn2
sumrecursionbinomialn,k2binomial2k,n,k,sn
−8n−12sn−2−7n2−7n+2sn−1+snn2
Dougall's identity
f≔hyperterma,1+a2,b,c,d,1+2a−b−c−d+n,−n,a2,1+a−b,1+a−c,1+a−d,1+a−1+2a−b−c−d+n,1+a+n,1,khyperterm1+a,1+a−b−c,1+a−b−d,1+a−c−d,1,1+a−b,1+a−c,1+a−d,1+a−b−c−d,1,n
f≔pochhammera,kpochhammer1+a2,kpochhammerb,kpochhammerc,kpochhammerd,kpochhammer1+2a−b−c−d+n,kpochhammer−n,kpochhammer1+a−b,npochhammer1+a−c,npochhammer1+a−d,npochhammer1+a−b−c−d,npochhammera2,kpochhammer1+a−b,kpochhammer1+a−c,kpochhammer1+a−d,kpochhammer−a+b+c+d−n,kpochhammer1+a+n,kk!pochhammer1+a,npochhammer1+a−b−c,npochhammer1+a−b−d,npochhammer1+a−c−d,n
sumrecursionf,k,sn
sn−sn−1
See Also
sum
sumtools[gosper]
SumTools[Hypergeometric][Zeilberger]
sumtools[hyperterm]
Download Help Document