cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A335257 Numerators of expansion of arctanh(tan(x)) (odd powers only).

Original entry on oeis.org

1, 2, 2, 244, 554, 202084, 166324, 1594887848, 456270874, 9619518701764, 59259390118004, 554790995145103208, 954740563911205348, 32696580074344991138888, 3636325637469705598456, 7064702291984369672858925136, 4176926860695042104392112698
Offset: 1

Views

Author

Denis Roegel, May 28 2020

Keywords

Comments

The numerators of a series used by Johann Heinrich Lambert (1728-1777) in expressing the relationship between a circular sector and a hyperbolic sector.

Examples

			arctan(tanh(x)) = x - 2/3*x^3 + 2/3*x^5 - 244/315*x^7 + 554/567*x^9 ...
arctanh(tan(x)) = x + 2/3*x^3 + 2/3*x^5 + 244/315*x^7 + 554/567*x^9 ...
		

Crossrefs

Cf. A002436, A335258 (denominators).

Programs

  • Mathematica
    Numerator @ CoefficientList[Series[ArcTanh[Tan[x]], {x, 0, 34}], x][[2 ;; -1 ;; 2]] (* Amiram Eldar, May 30 2020 *)
  • PARI
    a(n)={numerator((-1)^(n-1)*(polcoef(atan(tanh(x + O(x^(2*n)))), 2*n-1)))} \\ Andrew Howroyd, May 29 2020

Formula

a(n)/A335258(n) = A002436(n-1)/(2*n-1)!. - Andrew Howroyd, May 29 2020

Extensions

Terms a(9) and beyond from Andrew Howroyd, May 29 2020
Showing 1-1 of 1 results.