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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Balanced prime conjecture

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

Let pkp_k be the kk-th prime number. Are there infinitely many nn such that (pn+pn+2)/2(p_n + p_{n+2}) / 2 is prime?

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.07645 [math.NT] · NS.07645v1 for this version
Declaration:BalancedPrimes.balanced_primes
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:5e8c3cfc3b1f61b670d6117dba71222a8fef215168f11229a080ce97a9dbf927
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/BalancedPrimes.lean

Formal statement

theorem balanced_primes :
    {n : ℕ | Prime ((Nat.nth Prime n + Nat.nth Prime (n + 2)) / 2)}.Infinite
Show the full Challenge.lean (53 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Balanced prime conjecture

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Balanced_prime)
- [OEIS A6562](https://oeis.org/A6562)
-/

@[expose] public section

namespace BalancedPrimes

/--
Let $p_k$ be the $k$-th prime number.
Are there infinitely many $n$ such that $(p_n + p_{n+2}) / 2$ is prime?
-/
@[category research open, question, AMS 11]
theorem balanced_primes :
    {n : ℕ | Prime ((Nat.nth Prime n + Nat.nth Prime (n + 2)) / 2)}.Infinite := by
  sorry

/--
Let $p_k$ be the $k$-th prime number.
Are there infinitely many $n$ such that
$p_n = \dfrac{\sum_{i = 1} ^ k p_{n - i} + p_{n + i}}{2*k}$?
-/
@[category research open, question, AMS 11]
theorem balanced_primes_order :
    ∀ k > 0, {n : ℕ | k ≤ n ∧ 2 * k * Nat.nth Prime n = ∑ i ∈ .Ioc 0 k,
      ((n - i).nth Prime + (n + i).nth Prime)}.Infinite := by
  sorry

end BalancedPrimes

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

nosorry fetch wikipedia-balancedprimes
nosorry submit wikipedia-balancedprimes nosorry/wikipedia-balancedprimes/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.