Skewes's number

In number theory, Skewes's number is any of several large numbers used by the South African mathematician Stanley Skewes as upper bounds for the smallest natural number $$x$$ for which
 * $$\pi(x) > \operatorname{li}(x),$$

where $&pi;$ is the prime-counting function and $li$ is the logarithmic integral function. Skewes's number is much larger, but it is now known that there is a crossing between $$\pi(x) < \operatorname{li}(x)$$ and $$\pi(x) > \operatorname{li}(x)$$ near $$e^{727.95133} < 1.397 \times 10^{316}.$$ It is not known whether it is the smallest crossing.

Skewes's numbers
J.E. Littlewood, who was Skewes's research supervisor, had proved in that there is such a number (and so, a first such number); and indeed found that the sign of the difference $$\pi(x) - \operatorname{li}(x)$$ changes infinitely many times. All numerical evidence then available seemed to suggest that $$\pi(x)$$ was always less than $$\operatorname{li}(x).$$ Littlewood's proof did not, however, exhibit a concrete such number $$x$$.

proved that, assuming that the Riemann hypothesis is true, there exists a number $$x$$ violating $$\pi(x) < \operatorname{li}(x),$$ below
 * $$e^{e^{e^{79}}}<10^{10^{10^{34}}}.$$

Without assuming the Riemann hypothesis, proved that there exists a value of $$x$$ below
 * $$e^{e^{e^{e^{7.705}}}}<10^{10^{10^{964}}}.$$

Skewes's task was to make Littlewood's existence proof effective: exhibiting some concrete upper bound for the first sign change. According to Georg Kreisel, this was at the time not considered obvious even in principle.

More recent estimates
These upper bounds have since been reduced considerably by using large-scale computer calculations of zeros of the Riemann zeta function. The first estimate for the actual value of a crossover point was given by, who showed that somewhere between $$1.53\times 10^{1165}$$ and $$1.65\times 10^{1165}$$ there are more than $$10^{500}$$ consecutive integers $$x$$ with $$\pi(x) > \operatorname{li}(x)$$. Without assuming the Riemann hypothesis, proved an upper bound of $$7\times 10^{370}$$. A better estimate was $$1.39822\times 10^{316}$$ discovered by, who showed there are at least $$10^{153}$$ consecutive integers somewhere near this value where $$\pi(x) > \operatorname{li}(x)$$. Bays and Hudson found a few much smaller values of $$x$$ where $$\pi(x)$$ gets close to $$\operatorname{li}(x)$$; the possibility that there are crossover points near these values does not seem to have been definitely ruled out yet, though computer calculations suggest they are unlikely to exist. gave a small improvement and correction to the result of Bays and Hudson. found a smaller interval for a crossing, which was slightly improved by. The same source shows that there exists a number $$x$$ violating $$\pi(x) < \operatorname{li}(x),$$ below $$e^{727.9513468}< 1.39718 \times 10^{316}$$. This can be reduced to $$e^{727.9513386}< 1.39717 \times 10^{316}$$ assuming the Riemann hypothesis. gave $$1.39716 \times 10^{316}$$.

Rigorously, proved that there are no crossover points below $$x = 10^8$$, improved by  to $$8\times 10^{10}$$, by  to $$10^{14}$$, by  to $$1.39\times 10^{17}$$, and by  to $$10^{19}$$.

There is no explicit value $$x$$ known for certain to have the property $$\pi(x) > \operatorname{li}(x),$$ though computer calculations suggest some explicit numbers that are quite likely to satisfy this.

Even though the natural density of the positive integers for which $$\pi(x) > \operatorname{li}(x)$$ does not exist, showed that the logarithmic density of these positive integers does exist and is positive. showed that this proportion is about 0.00000026, which is surprisingly large given how far one has to go to find the first example.

Riemann's formula
Riemann gave an explicit formula for $$\pi(x)$$, whose leading terms are (ignoring some subtle convergence questions)


 * $$\pi(x) = \operatorname{li}(x) - \tfrac{1}{2}\operatorname{li}(\sqrt{x\,}) - \sum_{\rho} \operatorname{li}(x^\rho) + \text{smaller terms} $$

where the sum is over all $$\rho$$ in the set of non-trivial zeros of the Riemann zeta function.

The largest error term in the approximation $$\pi(x) \approx \operatorname{li}(x)$$ (if the Riemann hypothesis is true) is negative $$\tfrac{1}{2}\operatorname{li}(\sqrt{x\,})$$, showing that $$\operatorname{li}(x)$$ is usually larger than $$\pi(x)$$. The other terms above are somewhat smaller, and moreover tend to have different, seemingly random complex arguments, so mostly cancel out. Occasionally however, several of the larger ones might happen to have roughly the same complex argument, in which case they will reinforce each other instead of cancelling and will overwhelm the term $$\tfrac{1}{2}\operatorname{li}(\sqrt{x\,})$$.

The reason why the Skewes number is so large is that these smaller terms are quite a lot smaller than the leading error term, mainly because the first complex zero of the zeta function has quite a large imaginary part, so a large number (several hundred) of them need to have roughly the same argument in order to overwhelm the dominant term. The chance of $$N$$ random complex numbers having roughly the same argument is about 1 in $$2^N$$. This explains why $$\pi(x)$$ is sometimes larger than $$\operatorname{li}(x),$$ and also why it is rare for this to happen. It also shows why finding places where this happens depends on large scale calculations of millions of high precision zeros of the Riemann zeta function.

The argument above is not a proof, as it assumes the zeros of the Riemann zeta function are random, which is not true. Roughly speaking, Littlewood's proof consists of Dirichlet's approximation theorem to show that sometimes many terms have about the same argument. In the event that the Riemann hypothesis is false, the argument is much simpler, essentially because the terms $$\operatorname{li}(x^{\rho})$$ for zeros violating the Riemann hypothesis (with real part greater than $1⁄2$) are eventually larger than $$\operatorname{li}(x^{1/2})$$.

The reason for the term $$\tfrac{1}{2}\mathrm{li}(x^{1/2})$$ is that, roughly speaking, $$\mathrm{li}(x)$$ actually counts powers of primes, rather than the primes themselves, with $$p^n$$ weighted by $$\frac{1}{n}$$. The term $$\tfrac{1}{2}\mathrm{li}(x^{1/2})$$ is roughly analogous to a second-order correction accounting for squares of primes.

Equivalent for prime k-tuples
An equivalent definition of Skewes' number exists for prime k-tuples. Let $$P = (p, p+i_1, p+i_2, ..., p+i_k)$$ denote a prime (k +&thinsp;1)-tuple, $$\pi_P(x)$$ the number of primes $$p$$ below $$x$$ such that $$p, p+i_1, p+i_2, ..., p+i_k$$ are all prime, let $$\operatorname{li_P}(x) = \int_2^x \frac{dt}{(\ln t)^{k+1}}$$ and let $$C_P$$ denote its Hardy–Littlewood constant (see First Hardy–Littlewood conjecture). Then the first prime $$p$$ that violates the Hardy–Littlewood inequality for the (k +&thinsp;1)-tuple $$P$$, i.e., the first prime $$p$$ such that
 * $$\pi_P(p) > C_P \operatorname{li}_P(p), $$

(if such a prime exists) is the Skewes number for $$P.$$

The table below shows the currently known Skewes numbers for prime k-tuples:

The Skewes number (if it exists) for sexy primes $$(p, p+6)$$ is still unknown.

It is also unknown whether all admissible k-tuples have a corresponding Skewes number.