limit_seq(expr, n) is the limit of the sequence expr as the integer
n grows, as SymPy's limit_seq: it rewrites Fibonacci numbers and
factorials, tries the limit at infinity, and otherwise applies the
Stolz-Cesaro theorem to the dominant terms of numerator and denominator.
Oscillating sequences give AccumBounds; NULL means no answer was found.
dominant(expr, n) is the term of a sum that grows fastest in n.
Examples
n <- Symbol("n", integer = TRUE)
limit_seq(n / (n + 1), n)
#> 1
limit_seq((-1)^n, n)
#> AccumBounds(-1, 1)
dominant(5 * n^3 + 4 * n^2 + n + 1, n)
#> 5*n^3