This computes the Bernoulli number.
In[1]:=
Out[1]=
Here is the Bernoulli polynomial.
In[2]:=
Out[2]=