Skip to main content

Bernoulli Number Calculator – B Sequence

Quick answer

Bernoulli numbers B₀=1, B₁=−½, B₂=⅙, B₄=−1/30 power the tan expansion and Σkⁿ formulas.

  • Odd B beyond B₁ are zero.
  • Exact fractions.

Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.

How the Bernoulli Number Calculator Works

Generating: t/(eᵗ−1) = Σ Bₙtⁿ/n! | B₁ = −1/2, odd Bₙ (n>1) = 0

Bernoulli numbers arise from the generating function t/(eᵗ−1): expanding the series gives B₀ = 1, B₁ = −1/2, B₂ = 1/6, B₃ = 0, B₄ = −1/30, B₆ = 1/42, alternating in sign for even indices while every odd index past one vanishes. The calculator returns exact fractions (B₁₀ = 5/66, B₁₂ = −691/2730) with decimal equivalents, using the recurrence Σ C(n+1,k)Bₖ = 0 solved in rational arithmetic — no floating drift. Their fame comes from two outposts: power sums follow Faulhaber’s formula Σₖ₌₁ⁿ k^p = (Bₚ₊₁ polynomial in n)/(p+1), e.g. Σk = n(n+1)/2 built from B₁; and the tangent expansion tan x = x + x³/3 + 2x⁵/15 + 17x⁷/315 has numerators drawn from even Bernoulli numbers. They also seed the Riemann zeta values ζ(2n).

  1. 1

    Enter the index n

    Any non-negative integer

  2. 2

    Solve the recurrence

    Rational arithmetic produces the exact fraction

  3. 3

    Read the value

    B₄ = −1/30 ≈ −0.0333, zeros flagged for odd n > 1

  4. 4

    Browse the sequence

    The table around your index is displayed

Use Cases

Power Sum Formulas

Derive Σk² = n(n+1)(2n+1)/6 from B₂

Series Expansions

tan x coefficients come from even Bernoullis

Analytic Number Theory

ζ(2n) links to B₂ₙ

Tips

  • 1

    Odd Bernoulli numbers beyond B₁ are all zero

  • 2

    Signs alternate on even indices: B₄ = −1/30, B₆ = +1/42

  • 3

    Exact fractions matter — B₁₂ = −691/2730 defies decimal guesswork

Common Mistakes

  • Using B₁ = +1/2 (the "second convention") in formulas expecting −1/2

  • Expecting nonzero odd terms after B₁

  • Decimal rounding destroying the delicate cancellations in recurrences

  • Forgetting B₀ = 1 anchors the entire sequence

FAQs

What are the first Bernoulli numbers?

B₀ = 1, B₁ = −1/2, B₂ = 1/6, B₃ = 0, B₄ = −1/30, B₆ = 1/42.

Why is every odd B zero after B₁?

The function t/(eᵗ−1) + t/2 is even, forcing all higher odd coefficients to vanish.

What is B₁₂?

−691/2730 ≈ −0.2531 — the famously awkward numerator.

Where do they appear in sums?

Faulhaber: Σk = n(n+1)/2 uses B₁, and Σk³ = [n(n+1)/2]² follows from B₂ machinery.

Are Bernoulli numbers rational?

Yes, all of them — proven via the recurrence, despite rapid growth of their numerators.