FormalConjectures/OEIS/180017.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
Difference of digit sums in base 3 and base 2
Difference of sums of digits of $n$ in ternary and in binary: $$a(n) = \sum \mathrm{digits}_3(n) - \sum \mathrm{digits}_2(n).$$
References:
Imports (1)
- def
OeisA180017.aDifference of sums of digits of $n$ in ternary and in binary line 34 sourceSource documentation
Difference of sums of digits of $n$ in ternary and in binary.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
HSub.hSub,List.sum,Nat.digits,OfNat.ofNat8 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℤ := …
- theorem
OeisA180017.a_0line 38 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA180017.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HSub.hSub,List.sum,Nat.digits,congr,List,List.nil,Nat.digits_zero,CharP.cast_eq_zero,sub_self,eq_self,eq_true,True.intro24 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA180017.a_1line 41 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA180017.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HSub.hSub,List.sum,Nat.digits,congr,List.cons,List.nil,List,HMod.hMod,HDiv.hDiv,Nat.digits_of_two_le_of_pos,Mathlib.Meta.NormNum.isNat_le_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.trueand 12 more36 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA180017.a_2line 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA180017.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HSub.hSub,List.sum,Nat.digits,congr,List.cons,List.nil,List,HMod.hMod,HDiv.hDiv,Nat.digits_of_two_le_of_pos,Mathlib.Meta.NormNum.isNat_le_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.trueand 18 more37 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA180017.a_3line 47 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA180017.a,OfNat.ofNat,Nat,Neg.negProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HSub.hSub,List.sum,Nat.digits,congr,List.cons,List.nil,List,HMod.hMod,HDiv.hDiv,Nat.digits_of_two_le_of_pos,Mathlib.Meta.NormNum.isNat_le_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.trueand 19 more48 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA180017.a_4line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Int, OeisA180017.a,OfNat.ofNat,NatProof uses:
of_eq_true,Eq.trans,True,congrFun',congrArg,HSub.hSub,List.sum,Nat.digits,congr,List.cons,List.nil,List,HMod.hMod,HDiv.hDiv,Nat.digits_of_two_le_of_pos,Mathlib.Meta.NormNum.isNat_le_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.trueand 19 more40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA180017.conjecture"This sequence is positive on average, since 1/log(3) > 1/log(4) sorry line 56 sourceSource documentation
"This sequence is positive on average, since 1/log(3) > 1/log(4). Do all integers appear infinitely often?" - Charles R Greathouse IV, Feb 07 2013
depends on sorry what this means
Statement uses:
Int,Set.Infinite,Nat,Set.ofPred,Eq, OeisA180017.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 (z : ℤ) : Set.Infinite {n : ℕ | a n = z} := by …Mentions: OeisA180017.a