Article 4HMF7 Bounds on the nth prime

Bounds on the nth prime

by
John
from John D. Cook on (#4HMF7)

The nth prime is approximately n log n.

For more precise estimates, there are numerous upper and lower bounds for the nth prime, each tighter over some intervals than others. Here I want to point out upper and lower bounds from a dissertation by Christian Axler on page viii.

First, define

axler1.svg

Then for sufficiently large n, the nth prime number, pn, is bounded above and below by

axler2.svg

The lower bound holds for n a 2, and the upper bound holds for n a 8,009,824.

For example, suppose we want to estimate the 10 millionth prime. The exact value is 179,424,673. The bounds we get from the equations above are 179,408,030 and 179,438,842.

The width of the bracket bounding pn is 0.787 n / log^2n. In our example, the difference between the upper and lower bounds is 30,812.

This width, relative to pn, decreases something like O(1/log^3 n). In our example, the width of the bounding interval is 0.017% of pn.

NAHwG5kUBhM
External Content
Source RSS or Atom Feed
Feed Location http://feeds.feedburner.com/TheEndeavour?format=xml
Feed Title John D. Cook
Feed Link https://www.johndcook.com/blog
Reply 0 comments