This site is supported by donations to The OEIS Foundation.
Euler numbers
From OeisWiki
There are (at least) two distinct sequences named Euler numbers, which are related:
The Euler or secant numbers are defined via the exponential generating function
where is the hyperbolic secant function and is the hyperbolic cosine function.
A122045 Euler (or secant) numbers
- {1, 0, -1, 0, 5, 0, -61, 0, 1385, 0, -50521, 0, 2702765, 0, -199360981, 0, 19391512145, 0, -2404879675441, 0, 370371188237525, 0, -69348874393137901, 0, 15514534163557086905, ...}
A000364 Euler (or secant or "Zig") numbers : given by e.g.f. (even powers only)
- {1, 1, 5, 61, 1385, 50521, 2702765, 199360981, 19391512145, 2404879675441, 370371188237525, 69348874393137901, 15514534163557086905, 4087072509293123892361, ...}
The above is a bisection of the following sequence, also called Euler, or up/down numbers:
A000111 Euler or up/down numbers: e.g.f. sec(x) + tan(x). Also for n >= 2, half the number of alternating permutations on n letters (A001250).
- {1, 1, 1, 2, 5, 16, 61, 272, 1385, 7936, 50521, 353792, 2702765, 22368256, 199360981, 1903757312, 19391512145, 209865342976, 2404879675441, 29088885112832, ...}