Bernoulli数、正切数和正割数的快速计算
组合数学
2021-07-05 v3 离散数学
数据结构与算法
数论
摘要
我们考虑Bernoulli数、正切数(zag)和正割数(zig或Euler数)的计算。特别地,我们给出了渐近快速的算法,用于在 比特运算内计算前 个这样的数。我们还给出了非常简短的就地算法,用于在 次整数运算内计算前 个正切数或正割数。这些算法极其简单,对于中等大小的 速度很快。它们比Atkinson的算法(用于正切数和正割数)以及Akiyama和Tanigawa的算法(用于Bernoulli数)更快且占用更少空间。
引用
@article{arxiv.1108.0286,
title = {Fast computation of Bernoulli, Tangent and Secant numbers},
author = {Richard P. Brent and David Harvey},
journal= {arXiv preprint arXiv:1108.0286},
year = {2021}
}
备注
16 pages. To appear in Computational and Analytical Mathematics (associated with the May 2011 workshop in honour of Jonathan Borwein's 60th birthday). For further information, see http://maths.anu.edu.au/~brent/pub/pub242.html