Computing the n-th tangent number Tn

See BC code based on Algorithm 4.3, Modern computer arithmetic by Richard Brent and Paul Zimmermann.
If An is the number of Euler zigzag permutations on {1,2,…,n}, then Tn = A2n for n ≥ 1.

Enter n (1 ≤ n ≤ 1000):

Last modified 20th November 2022
Return to main page