This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


gives the Bernoulli number B_n.
BernoulliB[n, x]
gives the Bernoulli polynomial B_n(x).
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • The Bernoulli polynomials satisfy the generating function relation te^(xt)/(e^t-1)=∑_(n=0)^(∞)B_n(x)(t^n/n!).
  • The Bernoulli numbers are given by B_n=B_n(0).
  • BernoulliB can be evaluated to arbitrary numerical precision.
New in 1