Documentation

FormalConjectures.ErdosProblems.«968»

Erdős Problem 968 #

Let uₙ = pₙ / n, where pₙ is the nth prime. Does the set of n such that uₙ < uₙ₊₁ have positive density?

Erdős and Prachar also proved that ∑_{pₙ < x} |uₙ₊₁ - uₙ| ≍ (log x)^2, and that the set of n such that uₙ > uₙ₊₁ has positive density. Erdős also asked whether there are infinitely many increasing triples uₙ < uₙ₊₁ < uₙ₊₂ or decreasing triples uₙ > uₙ₊₁ > uₙ₊₂.

Reference: erdosproblems.com/968

[ErPr61] Erdős, P. and Prachar, K., Sätze und Probleme über pₖ/k. Abh. Math. Sem. Univ. Hamburg (1961/62), 251–256.

noncomputable def Erdos968.u (n : ) :

u n is the normalized nth prime, defined as pₙ / (n+1) where pₙ is the nth prime (with 0.nth Nat.Prime = 2).

This corresponds to the classical sequence (p₁/1, p₂/2, p₃/3, ...) while using Nat.nth Prime's 0-based indexing; in particular, the denominator is always positive.

Equations
Instances For
    theorem Erdos968.erdos_968 :
    sorry {n : | u n < u (n + 1)}.HasPosDensity

    Does the set {n | u n < u (n+1)} have positive natural density?

    Erdős and Prachar proved ∑_{pₙ < x} |u (n+1) - u n| ≍ (log x)^2 (see [ErPr61]).

    We encode ∑_{pₙ < x} as a sum over n < Nat.primeCounting' x (the number of primes < x).

    Erdős and Prachar proved that the set {n | u n > u (n+1)} has positive natural density (see [ErPr61]).

    Erdős asked whether there are infinitely many solutions to uₙ < uₙ₊₁ < uₙ₊₂.

    Erdős asked whether there are infinitely many solutions to uₙ > uₙ₊₁ > uₙ₊₂.