Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Are prime numbers among sums of prime numbers distributed as n2ln⁡(n)\frac n{2\ln(n)}? · variants.even_subsequence

Source:MathOverflow
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Meštrović's original formulation [Me18, Conjecture 3.3]: the sequence of sums of the first 2m2m primes satisfies the Restricted Prime Number Theorem, π(m,(S2m))∼mln⁡m\pi(m, (S_{2m})) \sim \frac{m}{\ln m}.

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.04342 [math.NT] · NS.04342v1 for this version
Declaration:MathOverflow434111.restricted_prime_number_theorem.variants.even_subsequence
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:e58f9ec97993f716f83210b46ef762802491833a42d556495031e84fcdecfa88
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Mathoverflow/434111.lean

Formal statement

theorem restricted_prime_number_theorem.variants.even_subsequence :
    ((fun m : ℕ => (((Finset.Icc 1 m).filter (fun k => Nat.Prime (S (2 * k)))).card : ℝ)) ~[atTop]
      (fun m : ℕ => (m : ℝ) / Real.log m))
Show the full Challenge.lean (75 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Are prime numbers among sums of prime numbers distributed as $\frac n{2\ln(n)}$?

*Reference:*

[mathoverflow.net/questions/434111](https://mathoverflow.net/questions/434111/are-prime-numbers-among-sums-of-prime-numbers-distributed-as-frac-n2-lnn)

[Me18] Meštrović, R., *Curious Conjectures on the Distribution of Primes
Among the Sums of the First `2n` Primes*, [arXiv:1804.04198](https://arxiv.org/abs/1804.04198)
(2018), Conjecture 3.3.
-/

@[expose] public section

namespace MathOverflow434111

open Nat Filter Topology Asymptotics

/-- $S_n$ is the sum of the first `n` primes, i.e. $S_n=p_1+\dots+p_n$, $1$-indexed,
matching the MathOverflow question. -/
noncomputable def S (n : ℕ) : ℕ := ∑ k ∈ Finset.range n, nth Nat.Prime k

/-- $\pi_n$ counts how many of $S_1,S_2,\dots,S_n$ are themselves prime,
i.e. $\pi_n$ as used on MathOverflow (compare to $\pi_n$ in [Me18, Conjecture 3.3],
which instead ranges over $S_2,S_4,\dots,S_{2n}$). -/
noncomputable def piRestricted (n : ℕ) : ℕ :=
  ((Finset.Icc 1 n).filter (fun k => Nat.Prime (S k))).card

/-- The conjecture claims that $\pi_n\sim\frac n{2\ln(n)}$.

In other words, primes are distributed among the much sparser sequence $(S_n)_n$
with essentially the same density as in the positive integers, up to a factor of $2$.

[MathOverflow 434111](https://mathoverflow.net/questions/434111/are-prime-numbers-among-sums-of-prime-numbers-distributed-as-frac-n2-lnn).

[Me18] Meštrović, R., *Curious Conjectures on the Distribution of Primes
Among the Sums of the First `2n` Primes*, [arXiv:1804.04198](https://arxiv.org/abs/1804.04198)
(2018).
-/
@[category research open, question, AMS 11]
theorem restricted_prime_number_theorem :
    ((fun n : ℕ => (piRestricted n : ℝ)) ~[atTop] (fun n : ℕ => (n : ℝ) / (2 * Real.log n))) := by
  sorry

/--
Meštrović's original formulation [Me18, Conjecture 3.3]: the sequence of sums of the
first $2m$ primes satisfies the Restricted Prime Number Theorem, $\pi(m, (S_{2m})) \sim \frac{m}{\ln m}$.
-/
@[category research open, question, AMS 11]
theorem restricted_prime_number_theorem.variants.even_subsequence :
    ((fun m : ℕ => (((Finset.Icc 1 m).filter (fun k => Nat.Prime (S (2 * k)))).card : ℝ)) ~[atTop]
      (fun m : ℕ => (m : ℝ) / Real.log m)) := by
  sorry

end MathOverflow434111

To prove it: keep every definition of Challenge.lean unchanged and prove MathOverflow434111.restricted_prime_number_theorem.variants.even_subsequence with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_even_subsequence : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk mathoverflow-434111--restricted-prime-number-theorem-variants-even-subsequence      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch mathoverflow-434111--restricted-prime-number-theorem-variants-even-subsequence
nosorry submit mathoverflow-434111--restricted-prime-number-theorem-variants-even-subsequence nosorry/mathoverflow-434111--restricted-prime-number-theorem-variants-even-subsequence/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.