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
∑k⁡f⁡k
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 s⁡n,....
An expression f is called (m,l)-fold hypergeometric term with respect to (n,k) if
fsubs⁡n=n−m,fandfsubs⁡k=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.
with⁡sumtools
Hypersum,Sumtohyper,extended_gosper,gosper,hyperrecursion,hypersum,hyperterm,simpcomb,sumrecursion,sumtohyper
sumrecursion⁡binomial⁡n,k3,k,f⁡n
−8⁢n−12⁢f⁡n−2−7⁢n2−7⁢n+2⁢f⁡n−1+f⁡n⁢n2
sumrecursion⁡binomial⁡n,k2⁢binomial⁡2⁢k,n,k,s⁡n
−8⁢n−12⁢s⁡n−2−7⁢n2−7⁢n+2⁢s⁡n−1+s⁡n⁢n2
Dougall's identity
f≔hyperterm⁡a,1+a2,b,c,d,1+2⁢a−b−c−d+n,−n,a2,1+a−b,1+a−c,1+a−d,1+a−1+2⁢a−b−c−d+n,1+a+n,1,khyperterm⁡1+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≔pochhammer⁡a,k⁢pochhammer⁡1+a2,k⁢pochhammer⁡b,k⁢pochhammer⁡c,k⁢pochhammer⁡d,k⁢pochhammer⁡1+2⁢a−b−c−d+n,k⁢pochhammer⁡−n,k⁢pochhammer⁡1+a−b,n⁢pochhammer⁡1+a−c,n⁢pochhammer⁡1+a−d,n⁢pochhammer⁡1+a−b−c−d,npochhammer⁡a2,k⁢pochhammer⁡1+a−b,k⁢pochhammer⁡1+a−c,k⁢pochhammer⁡1+a−d,k⁢pochhammer⁡−a+b+c+d−n,k⁢pochhammer⁡1+a+n,k⁢k!⁢pochhammer⁡1+a,n⁢pochhammer⁡1+a−b−c,n⁢pochhammer⁡1+a−b−d,n⁢pochhammer⁡1+a−c−d,n
sumrecursion⁡f,k,s⁡n
s⁡n−s⁡n−1
See Also
sum
sumtools[gosper]
SumTools[Hypergeometric][Zeilberger]
sumtools[hyperterm]
Download Help Document