Tangent Number Calculator

tan(x) Taylor coefficients

CalculatorsFreeNo Signup
4.4(793 reviews)
All Tools

Loading tool...

About Tangent Number Calculator

A tangent number calculator computing T_n: the (2n+1)th coefficient of the Taylor series of tan(x) × (2n+1)!. T_0=1, T_1=2, T_2=16, T_3=272, T_4=7936. Related to Bernoulli numbers: T_n = (-1)^n·2^{2n+2}·(2^{2n+2}-1)·B_{2n+2}/(2n+2). Client-side.

Tangent Number Calculator Features

  • T_n value
  • Bernoulli link
  • Sequence
  • Taylor series
  • Zigzag connection
Tangent numbers: tan(x) = Σ T_n·x^{2n+1}/(2n+1)!. T_n: 1, 2, 16, 272, 7936, 353792... Also: T_n = E_{2n+1} (odd zigzag numbers). Bernoulli relation: T_n = |B_{2n+2}|·2^{2n+2}(2^{2n+2}-1)/(2n+2).

How to Use

Enter n:

  • T_n: Tangent number
  • Bernoulli: B_{2n+2} link
  • Sequence: First values

Bernoulli Connection

T_n = (-1)^n · 2^{2n+2}(2^{2n+2}-1)/(2n+2) · B_{2n+2}. Since Bernoulli numbers involve ζ(2n): T_n = 2^{2n+2}(2^{2n+2}-1)/(2n+2)! · (2n+1)! · |B_{2n+2}|. Deep connection to Riemann zeta.

Combinatorics

T_n counts alternating permutations of {1,...,2n+1} (odd length). Example: T_1=2 counts the 2 alternating permutations of {1,2,3}: 132 and 231. These are the 'down-up' permutations.

Step-by-Step Instructions

  1. 1Enter n.
  2. 2Compute T_n.
  3. 3See Bernoulli.
  4. 4View sequence.
  5. 5Verify zigzag.

Tangent Number Calculator — Frequently Asked Questions

How do tangent and secant numbers relate?+

Secant numbers S_n = E_{2n} = coefficients of sec(x). Tangent numbers T_n = E_{2n+1} = coefficients of tan(x). Together they form the Euler zigzag sequence: 1(S), 1(T), 1(S), 2(T), 5(S), 16(T), 61(S), 272(T)...

Why are they always integers?+

Despite involving Bernoulli numbers (which are rational), the specific combination 2^{2n+2}(2^{2n+2}-1)B_{2n+2}/(2n+2) always gives an integer. This is because T_n counts alternating permutations — a combinatorial quantity that must be a positive integer.

What's the growth rate?+

T_n ~ 2·(2/π)^{2n+2}·(2n+1)!. They grow extremely fast — faster than (2n+1)! divided by (π/2)^{2n+2}. T_10 is already 126,842,916,433,920.

Share this tool: