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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Cuban Primes

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

This sequence is believed to be infinite.

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

Formal statement

theorem conjecture : {p : ℕ | A p}.Infinite
Show the full Challenge.lean (71 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Cuban Primes

OEIS A002407 lists the primes that are differences of two consecutive positive cubes. The
sequence is conjectured to be infinite.

*References:*
- [OEIS A002407](https://oeis.org/A002407)
-/

@[expose] public section

namespace OeisA2407

/-- A natural number is in A002407 when it is prime and is the difference of two consecutive
positive cubes. The addition equality avoids truncated subtraction in `ℕ`. -/
def A (p : ℕ) : Prop :=
  p.Prime ∧ ∃ k > 0, p + k ^ 3 = (k + 1) ^ 3

@[category test, AMS 11]
theorem a_7 : A 7 := by
  refine ⟨by norm_num, 1, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_19 : A 19 := by
  refine ⟨by norm_num, 2, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_37 : A 37 := by
  refine ⟨by norm_num, 3, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_61 : A 61 := by
  refine ⟨by norm_num, 4, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem a_127 : A 127 := by
  refine ⟨by norm_num, 6, by norm_num, by norm_num⟩

@[category test, AMS 11]
theorem not_a_91 : ¬ A 91 := by
  norm_num [A, Nat.prime_def_lt]

/--
This sequence is believed to be infinite.
-/
@[category research open, AMS 11]
theorem conjecture : {p : ℕ | A p}.Infinite := by
  sorry

end OeisA2407

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA2407.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-2407
nosorry submit oeis-2407 nosorry/oeis-2407/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.