SumTools[Hypergeometric]
Gosper
perform indefinite hypergeometric summation
Calling Sequence
Parameters
Description
Examples
References
Gosper(T, n, r)
T
-
hypergeometric term of n
n
variable
r
(optional) name
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.
with⁡SumToolsHypergeometric:
T≔4n⁢n4binomial⁡2⁢n,n
T≔4n⁢n42⁢nn
Gosper⁡T,n
2⁢n−1⁢63⁢n4−140⁢n3+60⁢n2+26⁢n−6⁢4n693⁢2⁢nn
T≔Product⁡j3,j=1..n−1Product⁡j3+1,j=1..n
T≔∏j=1n−1⁡j3∏j=1n⁡j3+1
Gosper⁡T,n,r
n+1⁢I⁢3−2⁢n+1⁢I⁢3+2⁢n−1⁢∏j=1n−1⁡j34⁢∏j=1n⁡j3+1
n+1⁢I⁢3−2⁢n+1⁢I⁢3+2⁢n−14
No hypergeometric solution found:
T≔n2binomial⁡2⁢n,n
T≔n22⁢nn
Error, (in SumTools:-Hypergeometric:-Gosper) no solution found
FAIL
Gosper, R.W., Jr. "Decision procedure for indefinite hypergeometric summation." Proc. Natl. Acad. Sci. USA. Vol. 75. (1977): 40-42.
See Also
SumTools[Hypergeometric][ExtendedGosper]
SumTools[Hypergeometric][PolynomialNormalForm]
SumTools[Hypergeometric][SumDecomposition]
SumTools[Hypergeometric][Zeilberger]
SumTools[IndefiniteSum][AccurateSummation]
Download Help Document