10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.5 Exercises 67<br />

computationally efficient formula is<br />

Z(t) =2<br />

m<br />

n −1/2 cos(t ln n − ϑ(t))<br />

n=1<br />

+(−1) m+1 τ −1/4<br />

M<br />

j=0<br />

(−1) j τ −j/2 Φj(z)+RM (t).<br />

Here, M is a cutoff integer of choice, the Φj are entire functions defined for<br />

j ≥ 0 in terms of a function Φ0 and its derivatives, and RM (t) is the error. A<br />

practical instance is the choice M = 2, for which we need<br />

Φ0(z) =<br />

cos( 1<br />

2 πz2 + 3<br />

8π) ,<br />

cos(πz)<br />

Φ1(z) = 1<br />

Φ(3)<br />

12π2 0 (z),<br />

Φ2(z) = 1<br />

1<br />

Φ(2)<br />

16π2 0 (z)+ Φ(6)<br />

288π4 0 (z).<br />

In spite of the complexity here, it is to be stressed that the formula is<br />

immediately applicable in actual computation. In fact, the error R2 can be<br />

rigorously bounded:<br />

|R2(t)| < 0.011t −7/4<br />

for all t>200.<br />

Higher-order (M >2) bounds, primarily found in [Gabcke 1979], are known,<br />

but just R2 has served computationalists well for two decades.<br />

Implement the Riemann–Siegel formula for M = 2, and test against some<br />

known values such as<br />

ζ(1/2 + 300i) ≈ 0.4774556718784825545360619<br />

+0.6079021332795530726590749 i,<br />

Z(1/2 + 300i) ≈ 0.7729870129923042272624525,<br />

which are accurate to the implied precision. Using your implementation, locate<br />

the nearest zero to the point 1/2+300i, which zero should have t ≈ 299.84035.<br />

You should also be able to find, still at the M = 2 approximation level and<br />

with very little machine time, the value<br />

ζ(1/2+10 6 i) ≈ 0.0760890697382 + 2.805102101019 i,<br />

again correct to the implied precision.<br />

When one is armed with a working Riemann–Siegel implementation, a<br />

beautiful world of computation in support of analytic number theory opens.<br />

For details on how actually to apply ζ evaluations away from the real axis,<br />

see [Brent 1979], [van de Lune et al. 1986], [Odlyzko 1994], [Borwein et al.<br />

2000]. We should point out that in spite of the power and importance of

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!