SumTools[Hypergeometric]
ExtendedGosper
perform extended Gosper's algorithm
Calling Sequence
Parameters
Description
Examples
References
ExtendedGosper(T, n)
T
-
list or set of hypergeometric terms of n
n
variable
Let En be the shift operator with respect to n, defined by En⁡f⁡n=f⁡n+1. For the given set (list)
T={t1⁡n,...,tp⁡n}
where the ti⁡n are hypergeometric terms of n, the ExtendedGosper(T,n) command returns a set (list)
S={s1⁡n,...,sq⁡n}
of hypergeometric terms si⁡n such that
En−1⁢∑i=1qsi⁡n=∑j=1ptj⁡n
if each of the hypergeometric term si⁡n exists. Otherwise, the ExtendedGosper routine returns the error message ``no solution found''.
with⁡SumToolsHypergeometric:
T≔−1k⁢binomial⁡n,k⁢kj,n2⁢an,−n2⁢an+n+12⁢an+1
T≔n2⁢an,−1k⁢nk⁢kj,−n2⁢an+n+12⁢an+1
ExtendedGosper⁡T,n
a2⁢n2−2⁢a⁢n2−2⁢a⁢n+n2+a+2⁢n+1⁢an+1a3−3⁢a2+3⁢a−1,−−n+k⁢−1k⁢nk⁢kjk+1
T≔n2⁢4nn+1⁢n+2,22⁢n−1n⁢2⁢n+1⁢binomial⁡2⁢n,n,−n2⁢4nn+1⁢n+2+n+12⁢4n+1n+2⁢n+3
T≔n2⁢4nn+1⁢n+2,22⁢n−1n⁢2⁢n+1⁢2⁢nn,−n2⁢4nn+1⁢n+2+n+12⁢4n+1n+2⁢n+3
−22⁢n−12⁢nn⁢n,n−1⁢4n+13⁢n+2
No solution found:
T≔2⁢n+1n2−3⁢n2⁢an,n2⁢an
T≔n2⁢an,2⁢n+1⁢n2⁢ann2−3
Error, (in SumTools:-Hypergeometric:-ExtendedGosper) no solution found
Petkovsek, M.; Wilf, H.; and Zeilberger, D. A=B. Wellesley, Massachusetts: A. K. Peters Ltd., 1996.
See Also
sumtools/extended_gosper
SumTools[Hypergeometric][Gosper]
Download Help Document