arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0807.1347math.NT

A multimodular algorithm for computing Bernoulli numbers

David Harvey

英文摘要:

We describe an algorithm for computing Bernoulli numbers. Using a parallel implementation, we have computed B(k) for k = 10^8, a new record. Our method is to compute B(k) modulo p for many small primes p, and then reconstruct B(k) via the Chinese Remainder Theorem. The asymptotic time complexity is O(k^2 log(k)^(2+epsilon)), matching that of existing algorithms that exploit the relationship between B(k) and the Riemann zeta function. Our implementation is significantly faster than several existing implementations of the zeta-function method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑