Title:Decimal encoding of the prime factorization of
Statement:". Is there any solution to ?
- Franklin T. Adams-Watters, Dec 18 2006"
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | question |
| Cite as: | NS.06716 [math.NT] · NS.06716v1 for this version |
| Declaration: | OeisA67599.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 04d711ebf1b47ada7cfdd25fd1cfeb996903f5fbe1dd8d45ecce4aa0dbcfee1e |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/67599.lean |
Formal statement
theorem conjecture :
∃ n : ℕ, 2 ≤ n ∧ a n = nShow the full Challenge.lean (77 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Decimal encoding of the prime factorization of $n$
If $n$ has prime factorization $p_1^{e_1} \dots p_r^{e_r}$ with $p_1 < \dots < p_r$,
then its decimal encoding is $p_1 e_1 \dots p_r e_r$.
*References:*
- [A067599](https://oeis.org/A067599)
-/
@[expose] public section
namespace OeisA67599
/-- Concatenates two natural numbers $a$ and $b$ base 10. -/
def concatenateNats (a b : ℕ) : ℕ :=
a * (10 ^ (Nat.digits 10 b).length) + b
/-- Decimal encoding of the prime factorization of $n$. -/
def a (n : ℕ) : ℕ :=
if n < 2 then 0
else
let factors : List ℕ := n.primeFactorsList.dedup
let flat_list : List ℕ := factors.flatMap fun p ↦ [p, n.primeFactorsList.count p]
flat_list.foldl concatenateNats 0
@[category test, AMS 11]
theorem a_2 : a 2 = 21 := by
decide +kernel
@[category test, AMS 11]
theorem a_3 : a 3 = 31 := by
decide +kernel
@[category test, AMS 11]
theorem a_4 : a 4 = 22 := by
decide +kernel
@[category test, AMS 11]
theorem a_5 : a 5 = 51 := by
decide +kernel
@[category test, AMS 11]
theorem a_6 : a 6 = 2131 := by
decide +kernel
/--
"$a(31) = a(177147) = 311$. Is there any solution to $a(n) = n$?
- _Franklin T. Adams-Watters_, Dec 18 2006"
-/
@[category research open, question, AMS 11]
theorem conjecture :
∃ n : ℕ, 2 ≤ n ∧ a n = n := by
sorry
end OeisA67599
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA67599.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-67599 nosorry submit oeis-67599 nosorry/oeis-67599/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.