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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Smarandache–Wellin primes · a_0

Source:Other sources
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

No informal statement.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07193 [math.NT] · NS.07193v1 for this version
Declaration:SmarandacheWellinPrime.a_0
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:6172e7e1279cadb76ff939e55208c4f4312f13a33e5a5bfe2cf113d0537bc1fe
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Other/SmarandacheWellinPrime.lean

Formal statement

theorem a_0 : a 0 = 2
Show the full Challenge.lean (104 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Smarandache–Wellin primes

The Smarandache–Wellin numbers are formed by concatenating the decimal expansions of the
successive primes: $2, 23, 235, 2357, \ldots$. It is conjectured that infinitely many members of
this sequence are prime.

*References:*
* [Smarandache Problems](https://fs.unm.edu/S-PROBL.HTM)
* [OEIS A019518](https://oeis.org/A019518)
* [OEIS A069151](https://oeis.org/A069151)
* [OEIS A046035](https://oeis.org/A046035)
-/

@[expose] public section

namespace SmarandacheWellinPrime

/-- The number of decimal digits of a natural number, counting zero as one digit. -/
def decimalDigitCount (n : ℕ) : ℕ :=
  if n = 0 then 1 else (Nat.digits 10 n).length

/-- Append the decimal expansion of `right` to that of `left`. -/
def decimalAppend (left right : ℕ) : ℕ :=
  left * 10 ^ decimalDigitCount right + right

/-- The Smarandache–Wellin sequence, indexed from zero. -/
noncomputable def a : ℕ → ℕ
  | 0 => 2
  | n + 1 => decimalAppend (a n) ((n + 1).nth Nat.Prime)

@[category test, AMS 11]
theorem a_0 : a 0 = 2 := by
  rfl

@[category test, AMS 11]
theorem a_1 : a 1 = 23 := by
  norm_num [a, decimalAppend, decimalDigitCount]

@[category test, AMS 11]
theorem a_2 : a 2 = 235 := by
  norm_num [a, decimalAppend, decimalDigitCount]

@[category test, AMS 11]
theorem a_3 : a 3 = 2357 := by
  norm_num [a, decimalAppend, decimalDigitCount]

@[category test, AMS 11]
theorem a_4 : a 4 = 235711 := by
  norm_num [a, decimalAppend, decimalDigitCount]

@[category test, AMS 11]
theorem prime_a_0 : (a 0).Prime := by
  rw [a_0]
  norm_num

@[category test, AMS 11]
theorem prime_a_1 : (a 1).Prime := by
  rw [a_1]
  norm_num

@[category test, AMS 11]
theorem not_prime_a_2 : ¬ (a 2).Prime := by
  rw [a_2]
  norm_num

@[category test, AMS 11]
theorem prime_a_3 : (a 3).Prime := by
  rw [a_3]
  norm_num

@[category test, AMS 11]
theorem not_prime_a_4 : ¬ (a 4).Prime := by
  rw [a_4]
  norm_num

/-- [Smarandache Problems](https://fs.unm.edu/S-PROBL.HTM) states: "There are infinitely many
primes in the smarandache concatenated prime sequence." -/
@[category research open, AMS 11]
theorem conjecture : {n : ℕ | (a n).Prime}.Infinite := by
  sorry

end SmarandacheWellinPrime

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

nosorry desk other-smarandachewellinprime--a-0      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch other-smarandachewellinprime--a-0
nosorry submit other-smarandachewellinprime--a-0 nosorry/other-smarandachewellinprime--a-0/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.