Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

An approximation for the prime counting function

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

NOTE: I've edited the question one last time, to be much simpler, in the hopes of getting more responses.

SETUP: Let pnp_npn​ denote the nnnth prime, let px=p⌈x⌉p_x = p_{\lceil x \rceil}px​=p⌈x⌉​ for all x>0x > 0x>0, let π(x)\pi(x)π(x) denote the prime counting function, and let li⁡(x)=∫0xdtlog⁡t\operatorname{li}(x) = \int_0^x \frac{dt}{\log t}li(x)=∫0x​logtdt​ denote the logarithmic integral function.

QUESTION: Does there exist a t∈Rt \in \mathbb{R}t∈R such that π(x)−xpli⁡(x)li⁡(x)≠O(x(log⁡x)t) \pi(x)-\frac{x}{p_{\operatorname{li}(x)}}\operatorname{li}(x) \neq O(\sqrt{x} (\log x)^t)π(x)−pli(x)​x​li(x)=O(x​(logx)t)?

MOTIVATION:

The function xpli⁡(x)li⁡(x)\frac{x}{p_{\operatorname{li}(x)}}\operatorname{li}(x)pli(x)​x​li(x) seems to approximate π(x)\pi(x)π(x) much better than li⁡(x)\operatorname{li}(x)li(x) does, at least for small xxx. Note that π(x)−xpli⁡(x)li⁡(x)=E(x)+H(x),\pi(x)-\frac{x}{p_{\operatorname{li}(x)}}\operatorname{li}(x) = E(x)+H(x),π(x)−pli(x)​x​li(x)=E(x)+H(x), where E(x)=π(x)−li⁡(x)E(x) = \pi(x)-\operatorname{li}(x)E(x)=π(x)−li(x) and H(x)=li⁡(x)pli⁡(x)(pli⁡(x)−x)∼1log⁡(x)(pli⁡(x)−x)H(x) = \frac{\operatorname{li}(x)}{p_{\operatorname{li}(x)}}(p_{\operatorname{li}(x)}-x)\sim \frac{1}{\log(x)}(p_{\operatorname{li}(x)}-x)H(x)=pli(x)​li(x)​(pli(x)​−x)∼log(x)1​(pli(x)​−x), and one has E(x)≥0E(x)\geq 0E(x)≥0 if and only if H(x)≤0H(x) \leq 0H(x)≤0 (so all "interference" in E(x)+H(x)E(x)+H(x)E(x)+H(x) is destructive). Let Θ\ThetaΘ denote the supremum of the zeros of the Riemann zeta function. Note that both E(x)E(x)E(x) and H(x)H(x)H(x) are O(xΘlog⁡x)O(x^\Theta \log x)O(xΘlogx), and neither is O(x/log⁡x)O(\sqrt{x}/\log x)O(x​/logx).

Note that x≥pyx \geq p_yx≥py​ if and only if π(x)≥y\pi(x) \geq yπ(x)≥y, for all x,y>0x, y > 0x,y>0. (This defines a monotone Galois connection from R>0\mathbb{R}_{>0}R>0​ to itself, which expresses an adjoint relationship in the corresponding poset category). Thus x≥pli⁡(y)x \geq p_{\operatorname{li}(y)}x≥pli(y)​ if and only if π(x)≥li⁡(y)\pi(x) \geq \operatorname{li}(y)π(x)≥li(y). The quantity pli(x)⁡π(x)−xli⁡(x)p_{\operatorname{li(x)}}\pi(x) - x \operatorname{li}(x)pli(x)​π(x)−xli(x) is thus natural to consider---discrete on one side, continuous on the other, and involving "both sides" of the duality, not just one. If the answer to the QUESTION above is NO, then pli⁡(x)π(x)−xli⁡(x)p_{\operatorname{li}(x)}\pi(x) - x \operatorname{li}(x)pli(x)​π(x)−xli(x) is smaller than x(π(x)−li⁡(x))x(\pi(x)-\operatorname{li}(x))x(π(x)−li(x)) in order of growth, which would imply that the product pli⁡(x)π(x)p_{\operatorname{li}(x)}\pi(x)pli(x)​π(x) of the right-left adjoint pair is better approximated by xli(x)⁡x \operatorname{li(x)}xli(x) than either adjoint is by xxx and li(x)⁡\operatorname{li(x)}li(x), respectively.

Statement and context adapted from MathOverflow · Jesse Elliott

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Asymptotic behaviour
This studies a quantity as its parameter becomes large. Writing f(n) ∼ g(n) means that their ratio tends to 1, not that the functions are exactly equal.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · analytic-number-theory · prime-numbers

Authors listed by the source : Jesse Elliott

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : November 18, 2022

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni