English

An amortized-complexity method to compute the Riemann zeta function

Number Theory 2018-08-31 v3

Abstract

A practical method to compute the Riemann zeta function is presented. The method can compute ζ(1/2+it)\zeta(1/2+it) at any T1/4\lfloor T^{1/4} \rfloor points in [T,T+T1/4][T,T+T^{1/4}] using an average time of T1/4+o(1)T^{1/4+o(1)} per point. This is the same complexity as the Odlyzko-Sch\"onhage algorithm over that interval. Although the method far from competes with the Odlyzko-Sch\"onhage algorithm over intervals much longer than T1/4T^{1/4}, it still has the advantages of being elementary, simple to implement, it does not use the fast Fourier transform or require large amounts of storage space, and its error terms are easy to control. The method has been implemented, and results of timing experiments agree with its theoretical amortized complexity of T1/4+o(1)T^{1/4+o(1)}.

Keywords

Cite

@article{arxiv.1002.2443,
  title  = {An amortized-complexity method to compute the Riemann zeta function},
  author = {G. A. Hiary},
  journal= {arXiv preprint arXiv:1002.2443},
  year   = {2018}
}

Comments

13 pages, arXiv abstract updated to match the abstract in the pdf file

R2 v1 2026-06-21T14:46:14.248Z