English

Double Exponential method for Riemann Zeta, Lerch and Dirichlet L-functions

Number Theory 2022-04-13 v2

Abstract

We provide efficient methods to evaluate the Riemann zeta, the Lerch zeta and the Dirichlet LL-functions. The method uses the Riemann-Siegel (RS) type formulas and a modified double exponential (MDE) quadrature method near the saddle point of appropriate integrands. We provide simplified derivations of the RS formulas, containing finite series sums and residual integrals, for the Lerch and the Dirichlet LL-functions. The MDE method allows us to remove the contribution of the singularities near the contour of integration for the residual integrals. The method allows us to evaluate the residual integrals to any prescribed accuracy. The numerical cost of evaluating them is minimal compared to the main series sums. Thus even highly oscillatory integrands for these functions can be evaluated with the same complexity as the RS formula. In particular, the numerical complexity to evaluate the ζ(s)\zeta(s) and the Lerch zeta function with s=σ+its=\sigma+i t scales as t\sqrt{t}, and for Dirichlet LL-function it scales as max(q,qt)\max(q, \sqrt{q t}). The method allows the automatic setting of integral cutoffs and finite discretization size to achieve prescribed accuracy. Furthermore, it ensures that every halving of the discretization interval almost leads to doubling the accuracy of the results. Thus, it allows for a further check on the accuracy of the results obtained.

Keywords

Cite

@article{arxiv.2203.02509,
  title  = {Double Exponential method for Riemann Zeta, Lerch and Dirichlet L-functions},
  author = {Sandeep Tyagi},
  journal= {arXiv preprint arXiv:2203.02509},
  year   = {2022}
}

Comments

30 pages, 9 figures

R2 v1 2026-06-24T10:02:39.452Z