FormalConjectures/OEIS/102371.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 A102371
The sequence $a(n)$ is defined by the recurrence relation $a(1)=1$, and for $n>1$, $a(n) = a(n-1) \operatorname{XOR} (a(n-1) + n)$. The conjecture asks if $a(n) = 2^n - 1 - \operatorname{A105033}(n-1)$ for $n \ge 1$.
References:
- def
OeisA102371.aThe primary defining sequencealine 43 sourceSource documentation
The primary defining sequence
a. $a(n)$ is defined by the recurrence relation $a(1)=1$, and for $n>1$, $a(n) = a(n-1) \operatorname{XOR} (a(n-1) + n)$, where $\operatorname{XOR}$ is the bitwise exclusive-or operator (^^^).standard axioms: propext what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 0 | 1 => 1 | (n' + 2) => let anMinus1 := a (n' + 1) …
- theorem
OeisA102371.a_1Term theorems verifying the first few values of the sequence against the official OEIS b-file line 52 sourceSource documentation
Term theorems verifying the first few values of the sequence against the official OEIS b-file
standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102371.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 a_1 : a 1 = 1 := by rfl …
Mentions: OeisA102371.a
- theorem
OeisA102371.a_2line 55 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102371.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
OeisA102371.a_3line 58 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102371.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
OeisA102371.a_4line 61 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102371.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
OeisA102371.a_5line 64 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102371.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
OeisA102371.conjecturesorry line 76 sourcedepends on sorry what this means
Statement uses:
Iff,True,Nat,LT.lt,OfNat.ofNat,Eq, OeisA102371.a,HSub.hSub,HPow.hPow, OeisA105033.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.