Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Euler numbers Eₙ
21
values for n = 0 to 20
n Eₙ
0 1
1 0
2 -1
3 0
4 5
5 0
6 -61
7 0
8 1385
9 0
10 -50521
11 0
12 2702765
13 0
14 -199360981
15 0
16 19391512145
17 0
18 -2404879675441
19 0
20 370371188237525

All odd-index Euler numbers are exactly 0; only even-index values are nonzero. Signs alternate: E₀=1, E₂=-1, E₄=5, E₆=-61.

What are the Euler numbers?

The Euler numbers Eₙ are a famous integer sequence that appears in the Taylor expansion of the hyperbolic secant 1/cosh(x). They are sometimes called the secant numbers (up to sign). This is pure mathematics and applies identically everywhere — there is no region-specific rule. This tool prints a table of Eₙ for any index range you choose.

Flat bar chart of the first several nonzero Euler numbers with alternating signs
The nonzero Euler numbers alternate in sign and grow rapidly in magnitude.

How to use it

Enter the start (nMin) and end (nMax) of the ordinal range, then pick a display precision in significant digits. The calculator lists every integer index n from nMin to nMax inclusive together with its Euler number. Because the values grow super-exponentially, exact big-integer arithmetic is used internally and very large numbers are shown in scientific notation.

The formula

The generating function is \( \frac{1}{\cosh(x)} = \sum E_n / n! \cdot x^n \). All odd-index Euler numbers are exactly zero. The even-index numbers follow the exact recurrence:

$$E_0 = 1, \text{ and for } m \ge 1: E_{2m} = -\sum_{k=0}^{m-1} \binom{2m}{2k} \cdot E_{2k}.$$

The signs alternate automatically: \(E_0 = 1\), \(E_2 = -1\), \(E_4 = 5\), \(E_6 = -61\), \(E_8 = 1385\).

Advertisement
Flat curve of the hyperbolic secant function sech x bell shape
Euler numbers are the Taylor coefficients of the generating function \( 1/\cosh x \).

Worked example

For nMin = 0, nMax = 8 the table contains 9 rows: \(n=0 \rightarrow 1\), \(n=1 \rightarrow 0\), \(n=2 \rightarrow -1\), \(n=3 \rightarrow 0\), \(n=4 \rightarrow 5\), \(n=5 \rightarrow 0\), \(n=6 \rightarrow -61\), \(n=7 \rightarrow 0\), \(n=8 \rightarrow 1385\).

FAQ

Why are odd entries always 0? Because \( 1/\cosh(x) \) is an even function, so only even powers of x appear in its expansion.

Are these the same as Euler's number e? No. Euler's number \( e \approx 2.71828 \) is unrelated; these are integers from the secant generating function.

How large can the range be? nMax is capped at 100. The values are computed exactly with big integers, so no precision is lost.

Last updated: