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.

408 Chapter 8 THE UBIQUITY OF PRIME NUMBERS<br />

These sequences are easy to envision and likewise easy to generate in practice;<br />

in fact, their generation is easier than one might suspect. Say we desire the<br />

van der Corput sequence for base B = 2. Then we simply count from n =0,<br />

in binary<br />

n =0, 1, 10, 11, 100,...,<br />

and form the reversals of the bits to obtain (also in binary)<br />

S =(0.0, 0.10, 0.01, 0.11, 0.001,...).<br />

To put it symbolically, if we are counting and happen to be at integer index<br />

n = nknk−1 ...n1n0,<br />

then the term ρB(n) ∈ S is given by reversing the digits thus:<br />

ρB(n) =0.n0n1 ...nk.<br />

It is known that every van der Corput sequence has<br />

D ∗ N(SB) =O<br />

ln N<br />

N<br />

where the implied big-O constant depends only on B. It turns out that B =3<br />

has the smallest such constant, but the main point affecting implementations<br />

is that the constant generally increases for larger bases B [Faure 1981].<br />

For D>1 dimensions, it is possible to generate qMC sequences based on<br />

the van der Corput forms, in the following manner:<br />

Definition 8.3.4. Let ¯ B = {B1,B2,...,BD} be a set of pairwise-coprime<br />

bases, each Bi > 1. We define the Halton sequence for bases ¯ B by<br />

where<br />

<br />

,<br />

S ¯ B =(xn) , n =0, 1, 2,...,<br />

xn =(ρB1(n),...,ρBD (n)).<br />

In other words, a Halton sequence involves a specific base for each vector<br />

coordinate, and the respective bases are to be pairwise coprime. Thus for<br />

example, a qMC sequence of points in the (D = 3)-dimensional unit cube can<br />

be generated by choosing prime bases {B1,B2,B3} = {2, 3, 5} and counting<br />

n =0, 1, 2,... in those bases simultaneously, to obtain<br />

x0 =(0, 0, 0),<br />

x1 =(1/2, 1/3, 1/5),<br />

x2 =(1/4, 2/3, 2/5),<br />

x3 =(3/4, 1/9, 3/5),<br />

and so on. The manner in which these points deposit themselves in the unit<br />

3-cube is interesting. We can see once again the basic, qualitative aspect

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

Saved successfully!

Ooh no, something went wrong!