This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Mathematical Functions / Combinatorial  /
BernoulliB

  • BernoulliB[ n ] gives the Bernoulli number .
  • BernoulliB[ n , x ] gives the Bernoulli polynomial .
  • Mathematical function (see Section A.3.10).
  • The Bernoulli polynomials satisfy the generating function relation .
  • The Bernoulli numbers are given by .
  • See the Mathematica book: Section 3.2.5.

    Further Examples

    This computes the Bernoulli number.

    In[1]:=

    Out[1]=

    Here is the Bernoulli polynomial.

    In[2]:=

    Out[2]=