FormalConjectures/OEIS/109845.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 A109845
$a(1) = 2$; $a(2n)$ = lcm of all previous terms + 1; $a(2n+1)$ = lcm of all previous terms - 1.
References:
Imports (1)
- def
OeisA109845.a$a(1) = 2$; $a(2n)$ = lcm of all previous terms + 1; $a(2n+1)$ = lcm of all previous terms - 1 line 40 sourceSource documentation
$a(1) = 2$; $a(2n)$ = lcm of all previous terms + 1; $a(2n+1)$ = lcm of all previous terms - 1. The sequence is correctly generated by the recurrence relation $a(1)=2$, $a(2)=3$, and for $n \ge 3$: $$a(n) = a(n-1)^2 + (-1)^n a(n-1) + (-1)^n.$$ We use $0$-based indexing here, so $a(n)$ corresponds to the OEIS sequence $a(n+1)$.
no axioms what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 2 | 1 => 3 | n + 2 => let prev := a (n + 1) … - theorem
OeisA109845.a_0line 51 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA109845.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109845.a_1line 54 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA109845.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109845.a_2line 57 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA109845.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109845.a_3line 60 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA109845.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109845.a_4line 63 sourceno axioms what this means
Statement uses:
Eq,Nat, OeisA109845.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109845.conjectureConjecture: There are infinitely many primes in this sequence sorry line 69 sourceSource documentation
Conjecture: There are infinitely many primes in this sequence.
depends on sorry what this means
Statement uses:
Set.Infinite,Nat,Set.ofPred,Nat.Prime, OeisA109845.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : Set.Infinite {n : ℕ | (a n).Prime} := by …Mentions: OeisA109845.a