### Calculating Bernoulli numbers

The Bernoulli numbers B_{j}, j ≥ 2, j even, can be defined in terms of the tangent numbers T_{j/2}:

See BC code based on Richard Brent's slides *Computing Bernoulli and Tangent numbers*.

Also see a paper by Donald Knuth and Thomas J. Buckholtz and The Bernoulli page.

*Last modified 9th July 2011*

Return to main page