A multimodular algorithm for computing Bernoulli numbers

Paper

Preprint is here.

Data

The 10,000,000-th Bernoulli number

The 31,622,776-th Bernoulli number

The 100,000,000-th Bernoulli number

Code

I implemented the algorithm described in the paper in a C++ package called bernmm. It depends on GMP and NTL.

The code has been submitted for review for inclusion in Sage.

It will also be released soon as a separate package. Watch this space.


Back to the main page