SumTools[Hypergeometric]
IsZApplicable
test the applicability of Zeilberger's algorithm to hypergeometric terms
Calling Sequence
Parameters
Description
Examples
References
IsZApplicable(F, n, k, En, 'Zpair')
F
-
hypergeometric term in n and k
n
name
k
En
(optional) name; denote the shift operator with respect to n
'Zpair'
(optional) name; assigned computed Z-pair
Let F be a hypergeometric term in n and k. The IsZApplicable(F, n, k, En, 'Zpair') command determines the applicability of Zeilberger's algorithm to F. It returns true if Zeilberger's algorithm is applicable to F. Otherwise, it returns false.
If Zeilberger's algorithm is applicable to the function F and the fourth and the fifth optional arguments are specified, the fifth argument 'Zpair' is assigned the computed Z-pair L,G for F.
If the input F is not a rational function of n and k, IsZApplicable returns FAIL. In this case, if the optional arguments En and 'Zpair' are specified, Zeilberger(F, n, k, En) is called. If it succeeds in finding a Z-pair for F, the computed Z-pair is assigned to 'Zpair'.
with⁡SumToolsHypergeometric:
In the following example, F is not a proper hypergeometric term. However, Zeilberger's algorithm is applicable to F:
F≔1n⁢k+n+1⁢binomial⁡n,k+1+n⁢k−2⁢k−n+2n2⁢k+2⁢n⁢k2−n⁢k+2⁢k+n−1⁢binomial⁡n,k
F≔nk+1n⁢k+n+1+n⁢k−2⁢k−n+2⁢nk2⁢n⁢k2+n2⁢k−n⁢k+2⁢k+n−1
IsProperHypergeometricTerm⁡F,n,k
false
IsZApplicable⁡F,n,k
true
In the following example, F is not a proper hypergeometric term, and Zeilberger's algorithm is not applicable to F either:
F≔−1k⋅1n⁢k+1⁢binomial⁡n+1,k⁢binomial⁡2⁢n−2⁢k−1,n−1
F≔−1k⁢n+1k⁢2⁢n−2⁢k−1n−1n⁢k+1
The input is a hypergeometric term of n and k.
F≔1n2+3⁢n⁢k−2⁢n−10⁢k2+11⁢k−3
F≔1−10⁢k2+3⁢n⁢k+n2+11⁢k−2⁢n−3
IsZApplicable⁡F,n,k,En,Zpair
L≔Zpair1
L≔−7⁢n−41⁢En6+−7⁢n−34⁢En5+En⁢6+7⁢n−1+7⁢n
G≔Zpair2
G≔5600⁢k66+7⁢n−1440⁢7⁢n+45⁢k56+7⁢n+40⁢154⁢n2+2230⁢n+7399⁢k46+7⁢n−80⁢14⁢n3+450⁢n2+3619⁢n+8445⁢k36+7⁢n−30⁢7⁢n4−40⁢n3−2079⁢n2−13900⁢n−26696⁢k26+7⁢n+10⁢7⁢n5+145⁢n4+679⁢n3−2545⁢n2−25082⁢n−45780⁢k6+7⁢n−75⁢n5+1295⁢n4+7075⁢n3+7337⁢n2−44310⁢n−960486+7⁢n⁢10⁢k−12−3⁢n⁢k−1−n2+9⁢k−7−n⁢6+7⁢n5⁢k+n−3⁢5⁢k+n−2⁢2⁢k−n−3⁢−4+2⁢k−n⁢−5+2⁢k−n⁢−6+2⁢k−n⁢−7+2⁢k−n⁢−10⁢k2+3⁢n⁢k+n2+11⁢k−2⁢n−3
Verify⁡F,Zpair,n,k,En
Abramov, S.A. "Applicability of Zeilberger's Algorithm to Hypergeometric Terms." Proceedings ISSAC'2002, pp. 1-7. ACM Press, 2002.
Abramov, S.A., and Le, H.Q. "Applicability of Zeilberger's Algorithm to Rational Functions." Proceedings FPSAC'2000, pp. 91-102. Springer-Verlag LNCS, 2000.
See Also
SumTools[Hypergeometric][IsProperHypergeometricTerm]
SumTools[Hypergeometric][MinimalZpair]
SumTools[Hypergeometric][Verify]
SumTools[Hypergeometric][Zeilberger]
SumTools[Hypergeometric][ZpairDirect]
Download Help Document