Title:Least index for which
Statement:Motivated by the observation that some small numbers occur only very late in the recently added sequence A243473, but all numbers seem to appear sooner or later. (The definition is completed by " if no such index exists" to guarantee well-definedness in absence of a proof, but I conjecture that no such will ever occur.)
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.05857 [math.NT] · NS.05857v1 for this version |
| Declaration: | OeisA243512.conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | ee40e23e3a85107e0c408308b58d6ccb692c27a2e3fd0438b38a27ffca9eb53b |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/OEIS/243512.lean |
Formal statement
theorem conjecture (n : ℕ) : a n ≠ 0Show the full Challenge.lean (80 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Least index $i$ for which $\text{num}(\sigma_1(i)/i) - \text{den}(\sigma_1(i)/i) = n$
Let $A243473(i)$ be the difference between the numerator $p$ and the denominator $q$
when the abundancy index $\sigma_1(i) / i$ is written in lowest terms $p / q$.
The sequence $a(n)$ is the least positive integer $i$ such that $A243473(i) = n$,
or $0$ if no such index exists.
*References:*
- [A243512](https://oeis.org/A243512)
-/
@[expose] public section
namespace OeisA243512
open Finset
/-- Numerator minus denominator of $\sigma_1(i) / i$ in lowest terms ([A243473](https://oeis.org/A243473)). -/
def abundancyDiff (i : ℕ) : ℕ :=
if i = 0 then 0
else
let r : ℚ := mkRat (∑ d ∈ i.divisors, d) i
(r.num - r.den).toNat
/-- Least positive integer $i$ such that `abundancyDiff i = n`, or $0$ if no such index exists. -/
noncomputable def a (n : ℕ) : ℕ :=
sInf {i : ℕ | 0 < i ∧ abundancyDiff i = n}
@[category test, AMS 11]
theorem a_0 : a 0 = 1 :=
IsLeast.csInf_eq (by decide)
@[category test, AMS 11]
theorem a_1 : a 1 = 2 :=
IsLeast.csInf_eq (by decide)
@[category test, AMS 11]
theorem a_3 : a 3 = 4 :=
IsLeast.csInf_eq (by decide)
@[category test, AMS 11]
theorem a_4 : a 4 = 9 :=
IsLeast.csInf_eq (by decide)
@[category test, AMS 11]
theorem a_5 : a 5 = 14 :=
IsLeast.csInf_eq (by decide)
/--
Motivated by the observation that some small numbers $(2, 12, 14, 18, \dots)$ occur only very late in
the recently added sequence A243473, but all numbers seem to appear sooner or later. (The definition
is completed by "$0$ if no such index exists" to guarantee well-definedness in absence of a proof,
but I conjecture that no such $0$ will ever occur.)
-/
@[category research open, AMS 11]
theorem conjecture (n : ℕ) : a n ≠ 0 := by
sorry
end OeisA243512
To prove it: keep every definition of Challenge.lean unchanged and prove OeisA243512.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-243512 nosorry submit oeis-243512 nosorry/oeis-243512/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.