 
 
 
Si bernoulli a comme argument un entier n alors :
bernoulli renvoie le nième nombre de Bernoulli B(n).
On a :
| 
 | = | 
 | 
 | tn | 
On rappelle que les polynômes de Bernoulli Bk sont définis par :
| B0=1 | 
| Bk′(x)=kBk−1(x) | 
| ∫ | 
 | Bk(x)dx=0 | 
On a alors :
B(n)=Bn(0)
On tape :
On obtient :
On tape :
On obtient :
 
 
