arXiv · 1108.0286
Fast computation of Bernoulli, Tangent and Secant numbers
Abstract
We consider the computation of Bernoulli, Tangent (zag), and Secant (zig or Euler) numbers. In particular, we give asymptotically fast algorithms for computing the first n such numbers in O(n^2.(log n)^(2+o(1))) bit-operations. We also give very short in-place algorithms for computing the first n Tangent or Secant numbers in O(n^2) integer operations. These algorithms are extremely simple, and fast for moderate values of n. They are faster and use less space than the algorithms of Atkinson (for Tangent and Secant numbers) and Akiyama and Tanigawa (for Bernoulli numbers).
Explore related subjects
Keep this discovery
Richard P. Brent, David Harvey. 2011-08-01. Fast computation of Bernoulli, Tangent and Secant numbers. https://doi.org/10.1007/978-1-4614-7621-4_8
Cite the original work for its findings. Save a collection to share your selection of sources.