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

Online Help

All Products    Maple    MapleSim


SumTools[Hypergeometric]

  

Gosper

  

perform indefinite hypergeometric summation

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

Gosper(T, n, r)

Parameters

T

-

hypergeometric term of n

n

-

variable

r

-

(optional) name

Description

• 

The Gosper(T,n,r) command solves the problem of indefinite hypergeometric summation, that is, for the given hypergeometric term T of n, it constructs another hypergeometric term G of n such that T⁡n=G⁡n+1−G⁡n, provided that such a term exists. Otherwise, the function returns the error message "no solution found".

• 

If the third optional argument r is specified, it is assigned the rational function r⁡n such that G⁡n=r⁡n⁢T⁡n if G was computed successfully, and FAIL otherwise.

Examples

> 

with⁡SumToolsHypergeometric:

> 

T≔4n⁢n4binomial⁡2⁢n,n

T≔4n⁢n42⁢nn

(1)
> 

Gosper⁡T,n

2⁢n−1⁢63⁢n4−140⁢n3+60⁢n2+26⁢n−6⁢4n693⁢2⁢nn

(2)
> 

T≔Product⁡j3,j=1..n−1Product⁡j3+1,j=1..n

T≔∏j=1n−1⁡j3∏j=1n⁡j3+1

(3)
> 

Gosper⁡T,n,r

n+1⁢I⁢3−2⁢n+1⁢I⁢3+2⁢n−1⁢∏j=1n−1⁡j34⁢∏j=1n⁡j3+1

(4)
> 

r

n+1⁢I⁢3−2⁢n+1⁢I⁢3+2⁢n−14

(5)

No hypergeometric solution found:

> 

T≔n2binomial⁡2⁢n,n

T≔n22⁢nn

(6)
> 

Gosper⁡T,n,r

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

> 

r

FAIL

(7)

References

  

Gosper, R.W., Jr. "Decision procedure for indefinite hypergeometric summation." Proc. Natl. Acad. Sci. USA. Vol. 75. (1977): 40-42.

See Also

SumTools[Hypergeometric]

SumTools[Hypergeometric][ExtendedGosper]

SumTools[Hypergeometric][PolynomialNormalForm]

SumTools[Hypergeometric][SumDecomposition]

SumTools[Hypergeometric][Zeilberger]

SumTools[IndefiniteSum][AccurateSummation]