Left to Solve
Problems / MathOverflow (not formalized)

The prime gap 2 and the prime gap 4, are they equally common?

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

This question was posed today by a student of mine, and I have not been able to find any relevant references.

Let be the sequence of prime numbers listed in increasing order, and let be the 'th prime gap. Pick a large number .

First, we count the number of indices between 1 and such that . Denote this number by . It is the number of pairs of twin primes found among the first primes.

Secondly, we count the number of indices between 1 and such that . Denote this number by .

Numerical evidence suggests that the ratio tends to 1 as tends to infinity. Are there any heuristic reasons to believe that the limit exists, and that it really is equal to 1? Is this a known conjecture, and if so, what is a good reference?

Posed by Andreas Holmstrom · prime-numbers, asymptotics, goldbach-type-problems

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-268498.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-268498.lean

import Mathlib

/-!
# The prime gap 2 and the prime gap 4, are they equally common?

Source: https://mathoverflow.net/questions/268498
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_268498

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_268498