🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #261

Re: Roots of the Riemann Zeta Function

#261
From: Krishna Myneni
Date: Wed, 25 Nov 2026 03:18
72 lines
4410 bytes
On 11/23/26 11:33 AM, Krishna Myneni wrote:
> On 11/23/26 10:42 AM, Krishna Myneni wrote:
> ...
>> Below is code to verify the first hundred known roots of the Riemann 
>> zeta function, along the "critical line", using zzeta.4th. Some of the 
>> output is shown below. The first root sort of works -- the magnitude 
>> of the zeta function is around 2e-9 at s = 1/2 + i* 
>> 14.13472514173469e0, while the rest clearly are not close to zero. The 
>> precision being used here is double precision. I'm not sure what the 
>> problem is. The next step is to repeat this using the MPFR library.
>> ...
> 
> 
> I found the problem. The implementation of zzeta.4th contains a note 
> saying that it is only valid for Re(s) > 1. The critical line on which 
> the roots are located do not meet this condition (Re(s) = 1/2).
> ...

Ok, it turns out that Re(s) > 1 is a limitation for the original 
zzeta.4th code (version 1.00). The problem for working at s = 1/2 + i*t 
is the number of terms in the series summation. I modified zzeta.4th for 
the complex zeta function word, zzeta, to have an adjustable number of 
terms based on |t|, the magnitude of the imaginary part of s. Now, I can 
verify the first 11 roots along the critical line. The computed complex 
zeta value blows up on the 12th root. I need to understand why this occurs.

Below is the verification of the first 11 non-trivial roots of the 
Riemann zeta function using a modified version of zzeta.4th. Note that 
the magnitude of the complex value of zeta is now less than 1E-14 for 
the first 11 roots (s = 1/2 + i*t).

The revised zzeta.4th is currently in a sloppy state, but the only 
significant change is the number of d_k terms, N, used by zzeta. 
Previously N was fixed to be 16*14/10. For the complex calculation,

N = 16*14/10 + |int(t)|.

The paper which helped me troubleshoot this problem is,

"Numerical evaluation of the Riemann Zeta-function," by Xavier Gourdon 
and Pascal Sebah, July 23, 2003, link:

http://numbers.computation.free.fr/Constants/Miscellaneous/zetaevaluations.pdf

--
KM

=== begin output ===
...
Computing the Riemann zeta function for the first 100 non-trivial roots.


   #      t          zeta[0.5+i*t]                |zeta|
------------------------------------------------------------
    1  1.41347e+01   -1.36351e-15 + i1.13511e-15   1.77415e-15
    2  2.10220e+01    3.61013e-16 + i1.12604e-15   1.18250e-15
    3  2.50109e+01   -4.74235e-15 + i1.77554e-15   5.06384e-15
    4  3.04249e+01   -3.74717e-15 - i5.49035e-15   6.64719e-15
    5  3.29351e+01   -1.46043e-15 + i1.23007e-14   1.23871e-14
    6  3.75862e+01    6.10083e-15 + i9.68264e-16   6.17719e-15
    7  4.09187e+01    8.31176e-15 + i3.14978e-16   8.31773e-15
    8  4.33271e+01   -1.54406e-14 - i9.43648e-15   1.80958e-14
    9  4.80052e+01   -2.61365e-15 + i6.51994e-15   7.02430e-15
   10  4.97738e+01    5.82551e-15 - i6.87336e-15   9.00997e-15
   11  5.29703e+01   -3.83373e-16 - i8.86242e-15   8.87071e-15
   12  5.64462e+01    nan + inan   nan
   13  5.93470e+01    nan + inan   nan
   14  6.08318e+01    nan + inan   nan
...
=== truncated output ===

Technical Details
Message-ID: <11e5k1p$3cur5$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11e1qde$21cj0$1@dont-email.me> <11e1td4$239el$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Krishna Myneni <krishna.myneni@ccreweb.org>
Newsgroups: comp.lang.forth
Subject: Re: Roots of the Riemann Zeta Function
Date: Tue, 24 Nov 2026 21:18:17 -0600
Organization: A noiseless patient Spider
Lines: 72
Message-ID: <11e5k1p$3cur5$1@dont-email.me>
References: <11e1qde$21cj0$1@dont-email.me> <11e1td4$239el$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 25 Nov 2026 03:18:19 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3570533"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18rFdkCMyWCfjcBOV+A5G/e"; posting-host="ba4472bca4f8747f8e6fafdce33f7846"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PFCDisrVyf2HqZdkLnd605XMMnQ= sha256:GeAwBF9J7ekrbE0CqFCdtIMMAmgF7T51J7UuV845Iwk=
	sha1:NuGbr/Qsj8ODsklGBlxVSU0/xBE= sha256:YpIxsDprk+BpJTyMbGNEofZOYGkJikUDjs7h2hQfcX8=
In-Reply-To: <11e1td4$239el$1@dont-email.me>
Content-Language: en-US