TOPICS
Search

Tangent Number


A tangent number T_n is an integer defined for positive integers n by

 T_n=(2^(2n)(2^(2n)-1)|B_(2n)|)/(2n),
(1)

where B_n is a Bernoulli number. The tangent numbers, also called zag numbers, can also be defined by the Maclaurin series of tanx or as the numbers of alternating permutations on 2n-1 symbols, allowing either alternation pattern, with permutations that are reverses of one another counted as equivalent. The first few T_n for n=1, 2, ... are 1, 2, 16, 272, 7936, ... (OEIS A000182).

For example, the reversal-nonequivalent alternating permutations on 1 and 3 symbols are {1}, and {1,3,2}, {2,1,3}, respectively.

The tangent numbers have the generating function

tanx=sum_(k=1)^(infty)((-1)^(k-1)2^(2k)(2^(2k)-1)B_(2k))/((2k)!)x^(2k-1)
(2)
=sum_(k=1)^(infty)(T_k)/((2k-1)!)x^(2k-1)
(3)
=x+1/3x^3+2/(15)x^5+(17)/(315)x^7+...
(4)

for |x|<pi/2.

Shanks (1967, p. 689) defines generalized tangent numbers for integers a>1 and n>=1 by

 d_(a,n)=((2n-1)!L_(-a)(2n))/(sqrt(a))((2a)/pi)^(2n),
(5)

where the Dirichlet L-series is written in Shanks's parameter convention as

 L_m(s)=sum_(k=0)^infty((-m)/(2k+1))(2k+1)^(-s)
(6)

for nonzero integers m and complex numbers s with Re(s)>1, where (u/v) denotes the Jacobi symbol. The case a=1 has a separate normalization,

 d_(1,n)=T_n.
(7)

The following table gives the first few values of d_(a,n) for n=1, 2, .... In the two OEIS records with initial index 0, OEIS A000464 and OEIS A000191, d_(a,n) corresponds to the term with index n-1.

aOEISd_(a,n)
1A0001821, 2, 16, 272, 7936, ...
2A0004641, 11, 361, 24611, ...
3A0001912, 46, 3362, 515086, ...
4A0003184, 128, 16384, 4456448, ...
5A0003204, 272, 55744, 23750912, ...
6A0004116, 522, 152166, 93241002, ...
7A0640728, 904, 355688, 296327464, ...
8A0640738, 1408, 739328, 806453248, ...
9A06407412, 2160, 1415232, 1951153920, ...
10A06407514, 3154, 2529614, 4300685074, ...

See also

Alternating Permutation, Entringer Number, Euler Zigzag Number, Secant Number, Tangent

Explore with Wolfram|Alpha

References

Borwein, J. and Bailey, D. Mathematics by Experiment: Plausible Reasoning in the 21st Century. Wellesley, MA: A K Peters, 2003.Knuth, D. E. and Buckholtz, T. J. "Computation of Tangent, Euler, and Bernoulli Numbers." Math. Comput. 21, 663-688, 1967.Shanks, D. "Generalized Euler and Class Numbers." Math. Comput. 21, 689-694, 1967.Shanks, D. Corrigendum to "Generalized Euler and Class Numbers." Math. Comput. 22, 699, 1968.Sloane, N. J. A. Sequences A000182/M2096, A000191, A000318, A000320, A000411, A000464, A064072, A064073, A064074, and A064075 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Tangent Number

Cite this as:

Weisstein, Eric W. "Tangent Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TangentNumber.html

Subject classifications