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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Representations using Sophie Germain primes and twin prime pairs

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

Conjecture (i), first part: a(n)>0a(n) > 0 for all n>1n > 1.

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

Formal statement

theorem conjecture_1 (n : ℕ) (hn : n > 1) : a n > 0
Show the full Challenge.lean (101 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Representations using Sophie Germain primes and twin prime pairs

Number of ways to write $n = x + y$ ($x, y > 0$) such that $6x - 1$ is a Sophie Germain prime
and $\{6y - 1, 6y + 1\}$ is a twin prime pair.

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

@[expose] public section

namespace OeisA227923

/-- Number of ways to write $n = x + y$ ($x, y > 0$) such that $6x - 1$ is a Sophie Germain prime
and $\{6y - 1, 6y + 1\}$ is a twin prime pair. -/
def a (n : ℕ) : ℕ :=
  (Finset.Ico 1 n).filter (fun x : ℕ =>
    let y := n - x
    (6 * x - 1).Prime ∧ (12 * x - 1).Prime ∧ (6 * y - 1).Prime ∧ (6 * y + 1).Prime
  ) |>.card

@[category test, AMS 11]
theorem a_1 : a 1 = 0 := by decide

@[category test, AMS 11]
theorem a_2 : a 2 = 1 := by decide

@[category test, AMS 11]
theorem a_3 : a 3 = 2 := by decide

@[category test, AMS 11]
theorem a_4 : a 4 = 2 := by decide

@[category test, AMS 11]
theorem a_5 : a 5 = 2 := by decide

/--
Conjecture (i), first part: $a(n) > 0$ for all $n > 1$.
-/
@[category research open, AMS 11]
theorem conjecture_1 (n : ℕ) (hn : n > 1) : a n > 0 := by
  sorry

/--
Conjecture (i), second part: Any integer $n > 4$ not equal to $13$ can be written as $x + y$
with $x$ and $y$ distinct and greater than $1$ such that $6x - 1$ is a Sophie Germain prime
and $\{6y - 1, 6y + 1\}$ is a twin prime pair.
-/
@[category research open, AMS 11]
theorem conjecture_2 (n : ℕ) (hn : n > 4) (h13 : n ≠ 13) :
    ∃ x y : ℕ, 1 < x ∧ 1 < y ∧ x ≠ y ∧ x + y = n ∧
      (6 * x - 1).Prime ∧ (12 * x - 1).Prime ∧
      (6 * y - 1).Prime ∧ (6 * y + 1).Prime := by
  sorry

/--
Conjecture (ii), cousin prime variant: Any integer $n > 1$ can be written as $x + y$
($x, y > 0$) such that $6x - 1$ is a Sophie Germain prime and $\{6y + 1, 6y + 5\}$ is a
cousin prime pair.
-/
@[category research open, AMS 11]
theorem conjecture_3 (n : ℕ) (hn : n > 1) :
    ∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧
      (6 * x - 1).Prime ∧ (12 * x - 1).Prime ∧
      (6 * y + 1).Prime ∧ (6 * y + 5).Prime := by
  sorry

/--
Conjecture (ii), sexy prime variant: Any integer $n > 1$ can be written as $x + y$
($x, y > 0$) such that $6x - 1$ is a Sophie Germain prime and $\{6y - 1, 6y + 5\}$ is a
sexy prime pair.
-/
@[category research open, AMS 11]
theorem conjecture_4 (n : ℕ) (hn : n > 1) :
    ∃ x y : ℕ, 0 < x ∧ 0 < y ∧ x + y = n ∧
      (6 * x - 1).Prime ∧ (12 * x - 1).Prime ∧
      (6 * y - 1).Prime ∧ (6 * y + 5).Prime := by
  sorry

end OeisA227923

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

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