Hypergeometric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


SumTools[IndefiniteSum]

  

Hypergeometric

  

compute closed forms of indefinite sums of hypergeometric terms

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

Hypergeometric(f, k, opt)

Parameters

f

-

hypergeometric term in k

k

-

name

opt

-

(optional) equation of the form failpoints=true or failpoints=false

Description

• 

The Hypergeometric(f, k) command computes a closed form of the indefinite sum of f with respect to k.

• 

The following algorithms are used to handle indefinite sums of hypergeometric terms (see the References section):

– 

Gosper's algorithm,

– 

Koepf's extension to Gosper's algorithm, and

– 

the algorithm to compute additive decompositions of hypergeometric terms developed by Abramov and Petkovsek.

• 

If the option failpoints=true (or just failpoints for short) is specified, then the command returns a pair s,p,q, where s is the closed form of the indefinite sum of f w.r.t. k, as above, and p,q are lists of points where f does not exist or the computed sum s is undefined or improper, respectively (see SumTools[IndefiniteSum][Indefinite] for more detailed help).

• 

The command returns FAIL if it is not able to compute a closed form.

Examples

> 

with⁡SumToolsIndefiniteSum:

Gosper's algorithm:

> 

f≔4⁢n−1⁢binomial⁡2⁢n,n22⁢n−12⁢42⁢n

f≔4⁢n−1⁢2⁢nn22⁢n−12⁢42⁢n

(1)
> 

Hypergeometric⁡f,n

−4⁢2⁢nn2⁢n22⁢n−12⁢42⁢n

(2)

The points where the telescoping equation fails:

> 

f≔binomial⁡2⁢n−3,n4n

f≔2⁢n−3n4n

(3)
> 

s,fp≔Hypergeometric⁡f,n,failpoints

s,fp≔2⁢n⁢n+1⁢2⁢n−3nn−2⁢4n,,2

(4)
> 

eval⁡s,n=2

Error, numeric exception: division by zero

Koepf's extension to Gosper's algorithm:

> 

f≔binomial⁡m,j2⁢binomial⁡m,k2⁢binomial⁡2⁢m+n3−j−k,2⁢m

f≔mj2⁢mk2⁢2⁢m+n3−j−k2⁢m

(5)
> 

Hypergeometric⁡f,n

n3−j−k⁢mj2⁢mk2⁢2⁢m+n3−j−k2⁢m2⁢m+1+n3−j−k+13⁢mj2⁢mk2⁢2⁢m+n3+13−j−k2⁢m2⁢m+1+n3+23−j−k⁢mj2⁢mk2⁢2⁢m+n3+23−j−k2⁢m2⁢m+1

(6)

Abramov and Petkovsek's algorithm (note that the specified summand is not hypergeometrically summable):

> 

f≔n2−2⁢n−1⁢2nn+1⁢n2⁢n+3!

f≔n2−2⁢n−1⁢2nn+1⁢n2⁢n+3!

(7)
> 

Hypergeometric⁡f,n

n+3⁢∏_i=1n−1⁡2_i+412⁢n+∑n⁡n2+2⁢n−1⁢∏_i=1n−1⁡2_i+412⁢n2

(8)
> 

SumToolsHypergeometricGosper⁡f,n

Error, (in SumTools:-Hypergeometric:-Gosper) no solution found

References

• 

Abramov, S.A., and Petkovsek, M. "Rational Normal Forms and Minimal Decompositions of Hypergeometric Terms." Journal of Symbolic Computing. Vol. 33. (2002): 521-543.

• 

Gosper, R.W., Jr. "Decision Procedure for Indefinite Hypergeometric Summation." Proceedings of the National Academy of Sciences USA. Vol. 75. (1978): 40-42.

• 

Koepf, W. Hypergeometric Summation: An Algorithmic Approach to Summation and Special Function Identities. Braunschweig, Germany: Vieweg, 1998.

• 

Abramov, S.A. and Petkovsek, M. "Gosper's Algorithm, Accurate Summation, and the discrete Newton-Leibniz formula." Proceedings ISSAC'05. (2005): 5-12.

See Also

SumTools[IndefiniteSum]

SumTools[IndefiniteSum][Indefinite]