FormalConjectures/OEIS/96535.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
Recurrence $a(n) = (a(n-1) + a(n-2)) \pmod n$
$a(0) = a(1) = 1$; $a(n) = (a(n-1) + a(n-2)) \pmod n$.
References:
Imports (1)
- def
OeisA96535.aRecurrence $a(n) = (a(n-1) + a(n-2)) \pmod n$ line 33 sourceSource documentation
Recurrence $a(n) = (a(n-1) + a(n-2)) \pmod n$.
no axioms what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 1 | 1 => 1 | n + 2 => (a (n + 1) + a n) % (n + 2) /-- Value of the sequence `a` at 0. -/ @[category test, AMS 11]
- theorem
OeisA96535.a_0Value of the sequenceaat 0 line 40 sourceSource documentation
Value of the sequence
aat 0.no axioms what this means
Statement uses:
Eq,Nat, OeisA96535.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_0 : a 0 = 1 := by rfl …
Mentions: OeisA96535.a
- theorem
OeisA96535.a_1Value of the sequenceaat 1 line 44 sourceSource documentation
Value of the sequence
aat 1.no axioms what this means
Statement uses:
Eq,Nat, OeisA96535.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: OeisA96535.a
- theorem
OeisA96535.a_2Value of the sequenceaat 2 line 48 sourceSource documentation
Value of the sequence
aat 2.no axioms what this means
Statement uses:
Eq,Nat, OeisA96535.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_2 : a 2 = 0 := by rfl …
Mentions: OeisA96535.a
- theorem
OeisA96535.a_3Value of the sequenceaat 3 line 52 sourceSource documentation
Value of the sequence
aat 3.no axioms what this means
Statement uses:
Eq,Nat, OeisA96535.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_3 : a 3 = 1 := by rfl …
Mentions: OeisA96535.a
- theorem
OeisA96535.a_4Value of the sequenceaat 4 line 56 sourceSource documentation
Value of the sequence
aat 4.no axioms what this means
Statement uses:
Eq,Nat, OeisA96535.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_4 : a 4 = 1 := by rfl …
Mentions: OeisA96535.a
- theorem
OeisA96535.conjectureAll numbers appear infinitely often, i.e., for every number sorry line 64 sourceSource documentation
All numbers appear infinitely often, i.e., for every number $k \ge 0$ and every frequency $f > 0$ there is an index $i$ such that $a(i) = k$ is the $f$-th occurrence of $k$ in the sequence.
- Klaus Brockhaus, Aug 29 2006
depends on sorry what this means
Statement uses:
Nat,Exists,And,GT.gt,Eq, OeisA96535.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (k : ℕ) (N : ℕ) : ∃ i : ℕ, i > N ∧ a i = k := by …
Mentions: OeisA96535.a