FormalConjectures/OEIS/109905.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
7 declarations, 1 contain sorry, 0 declared as axioms
Conjectures associated with A109905
$a(n)$ is the greatest prime of the form $k(n-k)+1$, where $k$ can take values from $1$ to $\lfloor n/2 \rfloor$. $a(n)=0$ if no such prime exists.
References:
Imports (1)
- def
OeisA109905.a$a(n)$ is the greatest prime of the form $k(n-k)+1$, where $k$ can take values from $1$ to $\lfloor n/2 \rfloor$ line 39 sourceSource documentation
$a(n)$ is the greatest prime of the form $k(n-k)+1$, where $k$ can take values from $1$ to $\lfloor n/2 \rfloor$. $a(n) = 0$ if no such prime exists.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sup,Finset.filter,Nat.Prime,Finset.image,HAdd.hAdd,HMul.hMul,HSub.hSub,OfNat.ofNat,Finset.Icc,HDiv.hDiv,id16 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- theorem
OeisA109905.a_1line 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109905.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109905.a_2line 49 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109905.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109905.a_3line 52 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109905.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109905.a_4line 55 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109905.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109905.a_5line 58 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109905.a,OfNat.ofNatProof uses:
of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109905.conjecture$a(n) = 0$ for $n = 1$, $6$, $30$ and $54$ sorry line 64 sourceSource documentation
$a(n) = 0$ for $n = 1$, $6$, $30$ and $54$. Are there any others?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And,GT.gt,OfNat.ofNat,Eq, OeisA109905.a,Not,Membership.mem,Finset,Insert.insert,Singleton.singletonProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : answer(sorry) ↔ ∃ n : ℕ, n > 0 ∧ a n = 0 ∧ n ∉ ({1, 6, 30, 54} : Finset ℕ) := by …Mentions: OeisA109905.a