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.

68 Chapter 1 PRIMES!<br />

the Riemann–Siegel formula, there are yet alternative means for efficient<br />

evaluation when imaginary parts are large. In fact it is possible to avoid<br />

the inherently asymptotic character of the Riemann–Siegel series, in favor of<br />

manifestly convergent expansions based on incomplete gamma function values,<br />

or on saddle points of certain integrals. Alternative schemes are discussed in<br />

[Galway 2000], [Borwein et al. 2000], and [Crandall 1999c].<br />

1.62. For the Riemann–Siegel formula of Exercise 1.61, and for similar<br />

prescriptions when s = σ + it is not on the half-line, it is evident that sums<br />

of the form<br />

Sm(s) =<br />

m<br />

n=1<br />

1<br />

,<br />

ns where m is an appropriate cutoff (typically, m ∼ √ t), could be used in actual<br />

computations. Investigate the notion of calculating Sm(s) overanarithmetic<br />

progression of s values, using the nonuniform FFT algorithm we present as<br />

Algorithm 9.5.8. That is, for values<br />

for say k =0,...,K− 1, we have<br />

Sm(σ + ikτ) =<br />

s = σ + ikτ,<br />

m<br />

n=1<br />

1<br />

n σ e−ikτ ln n ,<br />

and sure enough, this suggests a strategy of (m/K) nonuniform FFTs each of<br />

length K. Happily, the sum Sm can thus be calculated, for all k ∈ [0,K− 1],<br />

in a total of<br />

O(m ln K)<br />

operations, where desired accuracy enters (only logarithmically) into the<br />

implied big-O constant. This is a remarkable gain over the naive approach<br />

of doing a length-m sum K times, which would require O(mK).<br />

Such speedups can be used not only for RH verification, but analytic<br />

methods for prime-counting. Incidentally, this nonuniform FFT approach<br />

is essentially equivalent in complexity to the parallel method in [Odlyzko<br />

and Schönhage 1988]; however, for computationalists familiar with FFT, or<br />

possessed of efficient FFT software (which the nonuniform FFT could call<br />

internally), the method of the present exercise should be attractive.<br />

1.63. Show that ψ(x), defined in (1.22), is the logarithm of the least<br />

common multiple of all the positive integers not exceeding x. Show<br />

that the prime number theorem is equivalent to the assertion ψ(x) ∼<br />

x. Incidentally, in [Deléglise and Rivat 1998], ψ 10 15 is found to be<br />

999999997476930.507683 ..., an attractive numerical instance of the relation<br />

ψ(x) ∼ x. We see, in fact, that the error |ψ(x) − x| is very roughly √ x for<br />

x =10 15 , such being the sort of error one expects on the basis of the Riemann<br />

hypothesis.

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

Saved successfully!

Ooh no, something went wrong!