The Sequence of Primes
The Sequence of Primes
The sequence of primes generated by a simple algorithm like the sieve of Eratosthenes is not itself simple. The plots in this Demonstration show various features of the sequence that indicate that it is in many respects quite random. The logarithmic integral is defined by and the function counts the number of primes up to .
p
n
li(z)=dt/logt
z
∫
0
π(x)
x