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 S⁡n and T⁡n are similar. Otherwise, it returns false.
Two hypergeometric terms S⁡n and T⁡n are similar if their ratio is a rational function of n.
with⁡SumToolsHypergeometric:
S1≔n2;S2≔2n;T≔1
S1≔n2
S2≔2n
T≔1
AreSimilar⁡S1,T,n
true
AreSimilar⁡S2,T,n
false
T1≔1n+3!⁢2⁢n+7!⁢3⁢n+1!
T1≔3⁢n+1!n+3!⁢2⁢n+7!
T2≔n2−1⁢3⁢n+1!n+3!⁢2⁢n+7!
AreSimilar⁡T1,T2,n
See Also
SumTools[Hypergeometric][IsHypergeometricTerm]
Download Help Document