数学 > 数论
[提交于 2008年10月13日 (v1),最后修订于 2008年10月13日 (此版本, v2)]
标题:A multimodular algorithm for computing Bernoulli numbers
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:David Harvey[v2] 2008年10月13日 星期一 19:00:40 UTC