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.

170 Chapter 3 RECOGNIZING PRIMES AND COMPOSITES<br />

no primes in the interval [x, x+∆]. Describe how such a criterion could be used<br />

for given x, ∆ to show numerically, but rigorously, whether or not primes exist<br />

in such an interval. Of course, any new theoretical inroads into the analysis of<br />

these “gaps” would be spectacular.<br />

3.48. Suppose T is a probabilistic test that takes composite numbers n and,<br />

with probability p(n), provides a proof of compositeness for n. (Forprime<br />

inputs, the test T reports only that it has not succeeded in finding a proof of<br />

compositeness.) Is there such a test T that has p(n) → 1asn runs to infinity<br />

through the composite numbers, and such that the time to run T on n is no<br />

longer than doing k pseudoprime tests on n, for some fixed k?<br />

3.49. For a positive integer n coprime to 12 and squarefree, define K(n)<br />

depending on n mod 12 according to one of the following equations:<br />

K(n) =#{(u, v) : u>v>0; n = u 2 + v 2 }, for n ≡ 1, 5 (mod 12),<br />

K(n) =#{(u, v) : u>0, v > 0; n =3u 2 + v 2 }, for n ≡ 7 (mod 12),<br />

K(n) =#{(u, v) : u>v>0; n =3u 2 − v 2 }, for n ≡ 11 (mod 12).<br />

Then it is a theorem in [Atkin and Bernstein 2004] that n is prime if and only<br />

if K(n) is odd. First, prove this theorem using perhaps the fact (or related<br />

facts) that the number of representations of (any) positive n as a sum of two<br />

squares is<br />

r2(n) =4 <br />

(−1) (d−1)/2 ,<br />

d|n, d odd<br />

where we count all n = u 2 + v 2 including negative u or v representations; e.g.<br />

one has as a check the value r2(25) = 12.<br />

A research question is this: Using the Atkin–Bernstein theorem can one<br />

fashion an efficient sieve for primes in an interval, by assessing the parity of<br />

K for many n at once? (See [Galway 2000].)<br />

Another question is, can one fashion an efficient sieve (or even a primality<br />

test) using alternative descriptions of r2(n), for example by invoking various<br />

connections with the Riemann zeta function? See [Titchmarsh 1986] for a<br />

relevant formula connecting r2 with ζ.<br />

Yet another research question runs like so: Just how hard is it to<br />

“count up” all lattice points (in the three implied lattice regions) within a<br />

given “radius” √ n, and look for representation numbers K(n) asnumerical<br />

discontinuities at certain radii. This technique may seem on the face of it to<br />

belong in some class of brute-force methods, but there are efficient formulae—<br />

arising in analyses for the celebrated Gauss circle problem (how many lattice<br />

points lie inside a given radius?)—that provide exact counts of points in<br />

surprisingly rapid fashion. In this regard, show an alternative lattice theorem,<br />

that if n ≡ 1 (mod 4) is squarefree, then n is prime if and only if r2(n) =8.A<br />

simple starting experiment that shows n = 13 to be prime by lattice counting,<br />

via analytic Bessel formulae, can be found in [Crandall 1994b, p. 68].

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

Saved successfully!

Ooh no, something went wrong!