### Computing the n-th secant number S_{n}

See BC code based on Algorithm 4.5, *Modern computer arithmetic* by Richard Brent and Paul Zimmermann.

If A_{n} is the number of zigzag permutations on {1,2,…,n}, then S_{n} = A_{2n+1} for n ≥ 0.

*Last modified 20th November 2022*

Return to main page