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

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

withSumToolsIndefiniteSum:

Gosper's algorithm:

f4n1binomial2n,n22n1242n

f4n12nn22n1242n

(1)

Hypergeometricf,n

42nn2n22n1242n

(2)

The points where the telescoping equation fails:

fbinomial2n3,n4n

f2n3n4n

(3)

s,fpHypergeometricf,n,failpoints

s,fp2nn+12n3nn24n,,2

(4)

evals,n=2

Error, numeric exception: division by zero

Koepf's extension to Gosper's algorithm:

fbinomialm,j2binomialm,k2binomial2m+n3jk,2m

fmj2mk22m+n3jk2m

(5)

Hypergeometricf,n

n3jkmj2mk22m+n3jk2m2m+1+n3jk+13mj2mk22m+n3+13jk2m2m+1+n3+23jkmj2mk22m+n3+23jk2m2m+1

(6)

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

fn22n12nn+1n2n+3!

fn22n12nn+1n2n+3!

(7)

Hypergeometricf,n

n+3_i=1n12_i+412n+nn2+2n1_i=1n12_i+412n2

(8)

SumToolsHypergeometricGosperf,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]