10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.7 Counting primes 161<br />

Indeed, the last summation is rather easy, since it has just O ( √ x)terms.The<br />

next-to-last summation, which just records the difference between π(x) and<br />

π ∗ (x), also has just O ( √ x)terms.<br />

Let us posit a specific smooth decay, i.e., for u ∈ (x − y, x] we define<br />

(x − u)2<br />

c(u, x) =3<br />

y2 (x − u)3<br />

− 2<br />

y3 .<br />

Observe that c(x − y, x) =1andc(x, x) = 0, as required for continuous c<br />

functions in the stated class. Mellin transformation of c gives<br />

y3 F (s, x) = (3.30)<br />

6<br />

−2xs+3 +(s +3)xs+2y +(x− y) s (2x3 +(s− 3)x2y − 2sxy2 +(s +1)y3 )<br />

.<br />

s(s + 1)(s + 2)(s +3)<br />

This expression, though rather unwieldy, allows us to count primes more<br />

efficiently. For one thing, the denominator of the second fraction is O(t 4 ),<br />

which is encouraging. As an example, performing numerical integration as in<br />

relation (3.29) with the choices x = 100,y = 10, we find for the same trial set<br />

of integration limits T ∈{10, 30, 50, 70, 90} the results<br />

π(100) ≈ 25.3, 26.1, 25.27, 24.9398, 24.9942,<br />

which are quite satisfactory, since π(100) = 25. (Note, however, that there is<br />

still some chaotic behavior until T be sufficiently large.) It should be pointed<br />

out that Lagarias and Odlyzko suggest a much more general, parameterized<br />

form for the Mellin pair c, F , and indicate how to optimize the parameters.<br />

Their complexity result is that one can either compute π(x) with bit operation<br />

count O x 1/2+ɛ and storage space of O x 1/4+ɛ bits, or on the notion of<br />

limited memory one may replace the powers with 3/5+ɛ, ɛ, respectively.<br />

As of this writing, there has been no practical result of the analytic method<br />

on a par with the greatest successes of the aforementioned combinatorial<br />

methods. However, this impasse apparently comes down to just a matter of<br />

calendar time. In fact, [Galway 1998] has reported that values of π(10 n )for<br />

n = 13, and perhaps 14, are attainable for a certain turn-off function c and<br />

(only) standard, double-precision floating-point arithmetic for the numerical<br />

integration. Perhaps 100-bit or higher precision will be necessary to press the<br />

analytic method on toward modern limits, say x ≈ 10 21 or more; the required<br />

precision depends on detailed error estimates for the contour integral. The<br />

Galway functions are a clever choice of Mellin pair, and work out to be more<br />

efficient than the turn-off functions that lead to F of the type (3.30). Take<br />

c(u, x) = 1<br />

2 erfc<br />

ln u<br />

x<br />

2a(x)<br />

<br />

,<br />

where erfc is the standard error function:<br />

erfc(z) = 2<br />

∞<br />

√ e<br />

π<br />

−t2<br />

dt<br />

z

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

Saved successfully!

Ooh no, something went wrong!