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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Sum of two numbers with prime conditions

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

The conjecture for sequence A231201: for any n>1n > 1, there exist x,y>0x, y > 0 such that n=x+yn = x + y and 2x+y2^x + y is prime.

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

Formal statement

theorem conjecture (n : ℕ) (hn : 1 < n) : A n
Show the full Challenge.lean (74 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Sum of two numbers with prime conditions

Number of ways to write $n = x+y$, for $x,y > 0$ such that $2^x + y$ is prime.

Zhi-Wei Sun has offered a \$1000 prize for the first proof.

*References:*
- [A231201](https://oeis.org/A231201)
- Zhi-Wei Sun, "Table of n, a(n) for n = 1..10000",
  "Write n = k + m with 2^k + m prime", a message to Number Theory List, Nov. 16, 2013,
  "On a^n+ bn modulo m", arXiv:1312.1166 [math.NT], 2013-2014,
  "Problems on combinatorial properties of primes", arXiv:1402.6641 [math.NT], 2014-2015.
-/

@[expose] public section

namespace OeisA231201

/-- The predicate that `n` can be written as $x + y$ with $x,y >0$ such that
$2^x + y$ is prime -/
def A (n : ℕ) : Prop :=
  ∃ x y : ℕ, 0 < x ∧ 0 < y ∧ n = x + y ∧ (2^x + y).Prime

@[category test, AMS 11]
theorem a_2 : A 2 :=
  ⟨1, 1, by norm_num, by norm_num, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_3 : A 3 :=
  ⟨2, 1, by norm_num, by norm_num, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_4 : A 4 :=
  ⟨1, 3, by norm_num, by norm_num, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_5 : A 5 :=
  ⟨2, 3, by norm_num, by norm_num, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_8 : A 8 :=
  ⟨3, 5, by norm_num, by norm_num, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_53 : A 53 :=
  ⟨20, 33, by norm_num, by norm_num, by norm_num, by norm_num⟩

/-- The conjecture for sequence A231201: for any $n > 1$, there exist $x, y > 0$ such that $n = x + y$ and $2^x + y$ is prime. -/
@[category research open, AMS 11]
theorem conjecture (n : ℕ) (hn : 1 < n) : A n := by
  sorry

end OeisA231201

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

nosorry fetch oeis-231201
nosorry submit oeis-231201 nosorry/oeis-231201/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.