An efficient algorithm for the computation of Bernoulli numbers
Greg Fee, Simon Plouffe
Abstract
This article gives a direct formula for the computation of B(n) using the asymptotic formula B (n) ≈ 2 n!πn2n where n is even and n >> 1. This is simply based on the fact that ζ(n) is very near 1 when n is large and since B (n) = 2 ζ(n) n!πn2n exactly. The formula chosen for the Zeta function is the one with prime numbers from the well-known Euler product for ζ(n). This algorithm is far better than the recurrence formula for the Bernoulli numbers even if each B(n) is computed individually. The author could compute B (750,000) in a few hours. The current record of computation is now (as of Feb. 2007) B (5,000,000) a number of (the numerator) of 27332507 decimal digits is also based on that idea.
Create a lesson
Related papers
An ergodic approach to equations of the form x+y=α(n)
Vitaly Bergelson, Hao Pan, Saúl Rodríguez Martín
Rogers--Ramanujan identities from the geometry of Xa=Yb
Yifeng Huang, Kenny Lau, Ken Ono
Computational results on sums of a prime with squares or cubes
Kenny Applegate, Kyle Pratt
Finding New Limit Points of Mahler Measure by Methods of Missing Data Restoration
Jean-Marc Sac-Épée, Souad El Otmani, Armand Maul et al.
Low moments of automorphic random multiplicative function sums
Sun-Kai Leung
A problem of Yang and Chen on weighted representation functions
Shuang-Shuang Li, Ya-Ting Xu, Xiao-Hui Yan