Simple and accurate approximations to the Riemann zeta function
Pith reviewed 2026-05-22 23:53 UTC · model grok-4.3
The pith
Approximations compute the Riemann zeta function to high precision by pairing the Riemann-Siegel sum with an elementary-function remainder that uses precomputed Gaussian quadrature coefficients.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central claim is that the remainder after the main sum in the Riemann-Siegel formula for zeta(s) admits a simple, accurate representation that uses only elementary functions together with a modest number of precomputed coefficients obtained by Gaussian quadrature; the resulting hybrid formula therefore permits high-precision computation of both zeta(s) and zeta'(s) throughout the critical strip.
What carries the argument
The remainder-term approximation in the Riemann-Siegel formula, constructed from elementary functions and Gaussian-quadrature coefficients.
If this is right
- High-precision values of zeta(s) become available throughout the critical strip from a formula whose non-sum part contains only elementary functions.
- The same remainder approximation supplies a corresponding formula for the derivative zeta'(s).
- The method extends without change to other vertical strips Re(s) = constant.
- Numerical evidence presented in the paper shows that the observed errors remain below the expected thresholds over wide ranges of t.
Where Pith is reading between the lines
- Implementations in arbitrary-precision arithmetic libraries could adopt the precomputed coefficients as a fixed table, reducing per-evaluation cost.
- The approach may shorten the inner loop when locating zeros of zeta to very high precision.
- Because the quadrature coefficients are independent of s, the same table could be reused for related functions sharing a similar functional equation.
Load-bearing premise
The remainder term in the Riemann-Siegel formula can be accurately approximated using only elementary functions and precomputed coefficients obtained via Gaussian quadrature while preserving the high precision needed for computations inside the critical strip.
What would settle it
A side-by-side comparison at any point s = 1/2 + it (t large) in which the absolute difference between the new approximation and an independent high-precision reference exceeds the stated error bound would falsify the accuracy claim.
Figures
read the original abstract
We develop approximations for the Riemann zeta function that enable high-precision computation within the critical strip and other vertical strips. These approximations combine the main sum of the Riemann-Siegel formula with a simple approximation of the remainder term, which involves only elementary functions and certain precomputed coefficients obtained via Gaussian quadrature. Additionally, we provide approximations for the derivative of the Riemann zeta function and present extensive numerical evidence demonstrating the accuracy of these approximations.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper develops approximations to the Riemann zeta function by augmenting the main sum of the Riemann-Siegel formula with an elementary-function approximation to the remainder term, where the approximation employs precomputed coefficients obtained via Gaussian quadrature. Analogous approximations are supplied for the derivative, and the claims are supported by extensive numerical evidence for accuracy inside the critical strip and other vertical strips.
Significance. If the numerical tests confirm that the remainder approximation preserves high precision across the tested ranges, the method supplies a lightweight, elementary-function-based route to high-precision zeta evaluations after a one-time precomputation step. This could be useful for large-scale numerical work in analytic number theory.
major comments (2)
- [Numerical evidence and remainder approximation sections] The central claim that the Gaussian-quadrature remainder approximation achieves the precision needed inside the critical strip rests on numerical evidence alone; the manuscript should supply explicit a-posteriori error bounds or a comparison of the approximated remainder against the exact remainder (computed via the full Riemann-Siegel formula) for representative values of t up to at least 10^6.
- [Numerical evidence section] No baseline comparisons (e.g., against the plain Riemann-Siegel formula truncated at the same number of terms, or against other known remainder approximations) are described; without such controls it is impossible to quantify the practical gain in accuracy or speed.
minor comments (2)
- The abstract states that the approximations enable 'high-precision computation' but does not quantify the achieved absolute or relative error; adding concrete figures (e.g., 10^{-12} for |t| < 1000) would clarify the scope.
- Notation for the precomputed quadrature coefficients should be introduced once and used consistently; a short table listing the coefficients for the lowest-order approximations would improve readability.
Simulated Author's Rebuttal
We thank the referee for the constructive feedback. We address the major comments below and will update the manuscript with additional numerical comparisons as requested.
read point-by-point responses
-
Referee: [Numerical evidence and remainder approximation sections] The central claim that the Gaussian-quadrature remainder approximation achieves the precision needed inside the critical strip rests on numerical evidence alone; the manuscript should supply explicit a-posteriori error bounds or a comparison of the approximated remainder against the exact remainder (computed via the full Riemann-Siegel formula) for representative values of t up to at least 10^6.
Authors: We agree that direct comparisons against the exact remainder would strengthen the claims. In the revised manuscript we will add tables showing the approximated remainder versus the exact remainder (via the full Riemann-Siegel formula) at representative t values up to 10^6, together with the observed maximum absolute errors in those tests. revision: yes
-
Referee: [Numerical evidence section] No baseline comparisons (e.g., against the plain Riemann-Siegel formula truncated at the same number of terms, or against other known remainder approximations) are described; without such controls it is impossible to quantify the practical gain in accuracy or speed.
Authors: We accept that baseline comparisons are needed to quantify improvement. The revised version will include accuracy and timing comparisons against the plain Riemann-Siegel formula truncated after the same number of main-sum terms, and, where feasible, against other published remainder approximations. revision: yes
Circularity Check
No significant circularity
full rationale
The paper starts from the established Riemann-Siegel formula (an external, pre-existing result) and augments it with an independent approximation to the remainder term via Gaussian quadrature on elementary functions. No equation reduces to a self-definition, no fitted parameter is relabeled as a prediction, and no load-bearing step relies on a self-citation chain. The construction is parameter-light and the accuracy claims rest on direct numerical verification rather than internal re-derivation. This is the normal case of a self-contained numerical method paper.
Axiom & Free-Parameter Ledger
free parameters (1)
- precomputed coefficients
Reference graph
Works this paper leans on
-
[1]
D. H. Bailey. MPFUN2020: A thread-safe arbitrary precision package with special functions. 2020. https://www.davidhbailey.com/dhbsoftware/
work page 2020
-
[2]
M. V. Berry and J. P. Keating. A new asymptotic representation for ζ( 1 2 + it) and quantum spectral determinants. Proc. R. Soc. Lond., 437:151–173, 1992. http://doi.org/10.1098/rspa.1992.0053
-
[3]
J. M. Borwein, D. M. Bradley, and R. E. Crandall. Computational strategies for the Riemann zeta function. Journal of Computational and Applied Mathematics , 121(1):247–296, 2000. https: //doi.org/10.1016/S0377-0427(00)00336-8
-
[4]
P. Borwein. An efficient algorithm for the Riemann zeta function. Can. Math. Soc. Conf. Proc. , 27:29–34, 2000. 15
work page 2000
-
[5]
J. A. de Reyna. High precision computation of Riemann’s zeta function by the Riemann-Siegel formula, I. Mathematics of Computation, 80(274):995–1009, 2011. http://www.jstor.org/stable/ 41104769
work page 2011
-
[6]
W. Gabcke. Neue Herleitung und explizite Restabsch¨ atzung der Riemann-Siegel-Formel. PhD Thesis, G¨ ottingen, 1979. http://dx.doi.org/10.53846/goediss-5113
-
[7]
W. F. Galway. Computing the Riemann zeta function by numerical quadrature. In M. L. Lapidus and M. van Frankenhuysen, editors, Dynamical, spectral, and arithmetic zeta functions (San Antonio, TX, 1999), volume 290, pages 81–91. American Mathematical Society, 2001. http://dx.doi.org/ 10.1090/conm/290/04575
-
[8]
V. V. Golyshev and J. Stienstra. Fuchsian equations of type DN. Communications in Number Theory and Physics , 1(2):323–346, 2007
work page 2007
-
[9]
G. A. Hiary. Fast methods to compute the Riemann zeta function. Annals of Mathematics, 174:891– 946, 2011. https://doi.org/http://dx.doi.org/10.4007/annals.2011.174.2.4
-
[10]
G. A. Hiary. An alternative to Riemann-Siegel type formulas. Math. Comp. , 85:1017–1032, 2016. https://doi.org/10.1090/mcom/3019
-
[11]
G. A. Hiary and A. M. Odlyzko. Numerical study of the derivative of the Riemann zeta function at zeros. Comment. Math. Univ. St. Pauli , 60:47–60, 2011
work page 2011
-
[12]
F. Johansson. Rigorous high-precision computation of the Hurwitz zeta function and its derivatives. Numerical Algorithms, 69:253–270, 2015. https://doi.org/10.1007/s11075-014-9893-1
-
[13]
F. Johansson. Arbitrary-precision computation of the gamma function. Maple Trans., 3(1):article 14591, 2023. https://doi.org/10.5206/mt.v3i1.14591
-
[14]
A. Kuznetsov. Integral representations for the Dirichlet L-functions and their expansions in Meixner–Pollaczek polynomials and rising factorials. Integral Transforms and Special Functions , 18(11):827–835, 2007. https://doi.org/10.1080/10652460701450773
- [15]
-
[16]
D. P. Laurie. Computation of Gauss-type quadrature formulas. Journal of Computational and Applied Mathematics, 127(1):201–217, 2001. https://doi.org/10.1016/S0377-0427(00)00506-9
-
[17]
L. J. Mordell. The definite integral R ∞ −∞ eat2+bt ect+d dt and the analytic theory of numbers. Acta Math., 61:322–360, 1933
work page 1933
-
[18]
A. M. Odlyzko. Tables of zeros of the Riemann zeta function. https://www-users.cse.umn.edu/ ~odlyzko/zeta_tables/index.html
-
[19]
A. M. Odlyzko and A. Sch¨ onhage. Fast algorithms for multiple evaluations of the Riemann zeta func- tion. Trans. Amer. Math. Soc., 309(2):797–809, 1988. https://doi.org/10.1016/S0377-0427(00) 00336-8. 16
-
[20]
A. M. Odlyzko and H. J. J. te Riele. Disproof of the Mertens conjecture. Journal f¨ ur die reine und angewandte Mathematik , 1985(357):138–160, 1985. https://doi.org/10.1515/crll.1985.357. 138
-
[21]
R. B. Paris and S. Cang. An asymptotic representation for ζ( 1 2 + it). Methods and Applications of Analysis, 4(4):449–470, 1997
work page 1997
-
[22]
M. Rubinstein. Computational methods and experiments in analytic number theory. In F. Mezzadri and N. C. Snaith, editors, Recent Perspectives in Random Matrix Theory and Number Theory, pages 425–510. Cambridge University Press, 2005
work page 2005
-
[23]
E. C. Titchmarsh. The theory of the Riemann zeta-function . Oxford University Press, second edition, 1987
work page 1987
-
[24]
L. N. Trefethen and J. A. C. Weideman. The exponentially convergent trapezoidal rule. SIAM Review, 56(3):385–458, 2014. https://doi.org/10.1137/130932132. 17 Appendix A The coefficients ωp,j and λp,j for p ∈ {5, 10} High-precision values of coefficients {ωp,j}0≤j≤p and {λp,j}1≤j≤p for p = 1, 2, . . . ,30 and for many values in the range p ≤ 150 can be dow...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.