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.

158 Chapter 3 RECOGNIZING PRIMES AND COMPOSITES<br />

block, and we also compute φ(r2k ,pb) foreachb, so as to use these for the<br />

next block. The computed values of φ(x/(mpb+1),pb) are not stored, but are<br />

multiplied by µ(m) and added into a running sum that represents the second<br />

term on the right of (3.23). The time and space required to do these tasks <br />

for all pb ≤ x 1/3 in the r-th block is O(x 1/3+ɛ ). The values of φ r2 k ,pb<br />

are written over the prior values φ((r − 1)2 k ,pb), so the total space used is<br />

O x 1/3+ɛ . The total number of blocks does not exceed x 1/3 , so the total time<br />

used in this computation is O x 2/3+ɛ , as advertised.<br />

There are various ideas for speeding up this algorithm in practice, see<br />

[Lagarias et al. 1985] and [Deléglise and Rivat 1996].<br />

3.7.2 Analytic method<br />

Here we describe an analytic method, highly efficient in principle, for counting<br />

primes. The idea is that in [Lagarias and Odlyzko 1987], with recent extensions<br />

that we shall investigate. The idea is to exploit the fact that the Riemann zeta<br />

function embodies in some sense the properties of primes. A certain formal<br />

manipulation of the Euler product relation (1.18) goes like so. Start by taking<br />

the logarithm<br />

ln ζ(s) =ln <br />

p∈P<br />

and then introduce a logarithmic series<br />

(1 − p −s ) −1 = − <br />

ln ζ(s) = <br />

∞<br />

p∈P m=1<br />

p∈P<br />

ln(1 − p −s ),<br />

1<br />

, (3.24)<br />

mpsm where all manipulations are valid (and the double sum can be interchanged<br />

if need be) for Re(s) > 1, with the caveat that ln ζ is to be interpreted as<br />

a continuously changing argument. (By modern convention, one starts with<br />

the positive real ln ζ(2) and tracks the logarithm as the angle argument of ζ,<br />

along a contour that moves vertically to 2 + i Im(s) thenovertos.)<br />

In order to use relation (3.24) to count primes, we define a function<br />

reminiscent of—but not quite the same as—the prime-counting function π(x).<br />

In particular, we consider a sum over prime powers not exceeding x, namely<br />

π ∗ (x) = <br />

p∈P, m>0<br />

θ(x − pm )<br />

, (3.25)<br />

m<br />

where θ(z) is the Heaviside function, equal to 1, 1/2, 0, respectively, as its<br />

argument z is positive, zero, negative. The introduction of θ means that the<br />

sum involves only prime powers p m not exceeding x, but that whenever the<br />

real x actually equals a power p m , the summand is 1/(2m). The next step is<br />

to invoke the Perron formula, which says that for nonnegative real x, positive<br />

integer n, and a choice of contour C = {s :Re(s) =σ}, with fixed σ>0and

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

Saved successfully!

Ooh no, something went wrong!