Skip to main content
QUICK REVIEW

[Paper Review] The Zetafast algorithm for computing zeta functions

Kurt W. Fischer|arXiv (Cornell University)|Mar 4, 2017
Analytic Number Theory ResearchMathematics1 references4 citations
TL;DR

The Zetafast algorithm provides a new method for computing the Riemann zeta function and related L-functions with arbitrary precision using at most $ C(\epsilon)|\tau|^{1/2+\epsilon} $ summands for any $ \epsilon > 0 $, based on three absolutely convergent series derived from the functional equation. It achieves this with explicit error bounds and is applicable to Dirichlet L-functions and other zeta functions with similar functional equations.

ABSTRACT

We express the Riemann zeta function $ζ\left(s ight)$ of argument $s=σ+iτ$ with imaginary part $τ$ in terms of three absolutely convergent series. The resulting simple algorithm allows to compute, to arbitrary precision, $ζ\left(s ight)$ and its derivatives using at most $C\left(ε ight)\left|τ ight|^{\frac{1}{2}+ε}$ summands for any $ε>0$, with explicit error bounds. It can be regarded as a quantitative version of the approximate functional equation. The numerical implementation is straightforward. The approach works for any type of zeta function with a similar functional equation such as Dirichlet $L$-functions, or the Davenport-Heilbronn type zeta functions.

Motivation & Objective

  • To develop a fast, numerically stable algorithm for computing the Riemann zeta function $ \zeta(s) $ with arbitrary precision.
  • To provide explicit, quantitative error bounds for the approximation of $ \zeta(s) $ and its derivatives.
  • To extend the method to other zeta functions, including Dirichlet L-functions and Davenport-Heilbronn type zeta functions, under functional equation conditions.
  • To achieve performance comparable to the Riemann-Siegel formula while offering rigorous error control and convergence guarantees.

Proposed method

  • The algorithm expresses $ \zeta(s) $ as a sum of three absolutely convergent series: $ D(s) $, $ E_1(s) $, and $ E_{-1}(s) $, using the normalized incomplete gamma function $ Q(v, n/N) $.
  • It leverages the functional equation of the zeta function to represent the zeta value via a duality between the sum over $ n $ and the sum over $ m $, with phase and gamma factor corrections.
  • The series $ D(s) $ is truncated at $ \lceil \lambda v N \rceil $, with $ \lambda = 3.151 $, ensuring error less than $ \delta/3 $.
  • The error in the $ E_\mu(s) $ series is controlled via asymptotic expansion and bounds on the remainder terms using the gamma function and binomial expansions.
  • The choice of $ v = \lceil x_0 \rceil $, where $ x_0 $ solves $ x - \max((1-\sigma)/2, 0)\ln(1/2 + x + \tau) = \ln(8/\delta) $, balances accuracy and computational cost.
  • The method generalizes to Dirichlet L-functions by incorporating the character $ \chi $ and Gauss sum $ G(\chi) $ into the functional equation structure.

Experimental results

Research questions

  • RQ1Can the Riemann zeta function be computed with arbitrary precision using a finite number of terms, with explicit error bounds?
  • RQ2How does the number of required summands scale with the imaginary part $ \tau $ of $ s $, and can this be bounded by $ O(|\tau|^{1/2+\epsilon}) $ for any $ \epsilon > 0 $?
  • RQ3Can the algorithm be extended to Dirichlet L-functions and other zeta functions with functional equations of similar form?
  • RQ4What is the minimal number of terms required to achieve a given accuracy $ \delta $, and how can this be optimized?

Key findings

  • The Zetafast algorithm computes $ \zeta(s) $ to within error $ \delta $ using at most $ S \leq 2 + 8\sqrt{1 + \ln(8/\delta) + \max((1-\sigma)/2, 0)\ln(2\tau)}\sqrt{1 + \tau} $ summands, with explicit error control.
  • For $ \tau > \frac{5}{3}(\frac{3}{2} + \ln(8/\delta)) $, the number of summands scales as $ O(|\tau|^{1/2+\epsilon}) $ for any $ \epsilon > 0 $, matching the asymptotic efficiency of the Riemann-Siegel formula.
  • The algorithm achieves arbitrary precision with a fixed $ \lambda = 3.151 $, ensuring the remainder in $ D(s) $ is bounded by $ \delta/3 $, and similar bounds hold for $ E_\mu(s) $.
  • The method is extendable to Dirichlet L-functions with primitive, non-principal characters, using the Gauss sum and functional equation structure.
  • Derivatives of $ \zeta(s) $ can be computed by termwise differentiation of the series, with explicit error bounds derivable from the same framework.
  • The approach provides a quantitative version of the approximate functional equation, with all components and error bounds explicitly computable.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.