SumTools[Hypergeometric]
AreSimilar
test if two hypergeometric terms are similar
Calling Sequence
Parameters
Description
Examples
AreSimilar(S, T, n)
S
-
hypergeometric term of n
T
n
variable
The AreSimilar(S,T,n) command returns true if Sn and Tn are similar. Otherwise, it returns false.
Two hypergeometric terms Sn and Tn are similar if their ratio is a rational function of n.
withSumToolsHypergeometric:
S1≔n2;S2≔2n;T≔1
S1≔n2
S2≔2n
T≔1
AreSimilarS1,T,n
true
AreSimilarS2,T,n
false
T1≔1n+3!2n+7!3n+1!
T1≔3n+1!n+3!2n+7!
T2≔n2−13n+1!n+3!2n+7!
AreSimilarT1,T2,n
See Also
SumTools[Hypergeometric][IsHypergeometricTerm]
Download Help Document