FormalConjectures/OEIS/110475.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
8 declarations, 1 contain sorry, 0 declared as axioms
Number of symbols '*' and '^' to write the canonical prime factorization of n
The canonical prime factorization is $n = p_1^{e_1} p_2^{e_2} \cdots p_k^{e_k}$. The written form is $p_1^{\wedge} e_1 * p_2^{\wedge} e_2 * \cdots * p_k^{\wedge} e_k$, where the $\wedge$ appears only if $e_i > 1$. $a(n) = (\text{number of distinct prime factors}) - 1 +$ $(\text{number of distinct prime factors with exponent } > 1)$.
References:
Imports (1)
- def
OeisA110475.aThe primary defining sequencealine 41 sourceSource documentation
The primary defining sequence
a. $a(n)$ is the number of symbols '*' and '^' to write the canonical prime factorization of $n$.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finsupp,Nat.factorization,Finset,Finsupp.support,Finset.card,HSub.hSub,OfNat.ofNat,Finset.filter,GT.gt,HAdd.hAdd11 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA110475.a_1Term theorems verifying the first few values of the sequence against the official OEIS b-file line 51 sourceSource documentation
Term theorems verifying the first few values of the sequence against the official OEIS b-file
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA110475.a,OfNat.ofNatProof uses:
id,of_eq_true,HAdd.hAdd,Finset.card,Finset.filter,GT.gt,Finsupp,Nat.factorization,EmptyCollection.emptyCollection,Finset,Eq.trans,True,congrFun',congrArg,False,Finset.filter_congr,Membership.mem,Iff.of_eq,LT.lt,Nat.factorization_oneand 3 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 0 := by …
Mentions: OeisA110475.a
- theorem
OeisA110475.a_2line 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA110475.a,OfNat.ofNatProof uses:
id,Nat.Prime,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mpr,HAdd.hAdd,HSub.hSub,Finset.card,Insert.insert,Finset,EmptyCollection.emptyCollection,Finset.filter,GT.gt,Finsupp,Nat.factorization,Finsupp.single,congrArgand 21 more44 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA110475.a_3line 63 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA110475.a,OfNat.ofNatProof uses:
id,Nat.Prime,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mpr,HAdd.hAdd,HSub.hSub,Finset.card,Insert.insert,Finset,EmptyCollection.emptyCollection,Finset.filter,GT.gt,Finsupp,Nat.factorization,Finsupp.single,congrArgand 21 more44 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA110475.a_4line 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA110475.a,OfNat.ofNatProof uses:
id,HPow.hPow,Eq.refl,Eq.mpr,HAdd.hAdd,HSub.hSub,Finset.card,Insert.insert,Finset,EmptyCollection.emptyCollection,Finset.filter,GT.gt,Finsupp,Nat.factorization,congrArg,Finsupp.single,Nat.Prime.factorization_pow,of_decide_eq_true,Nat.Prime,Booland 23 more51 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA110475.a_5line 77 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA110475.a,OfNat.ofNatProof uses:
id,Nat.Prime,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.mpr,HAdd.hAdd,HSub.hSub,Finset.card,Insert.insert,Finset,EmptyCollection.emptyCollection,Finset.filter,GT.gt,Finsupp,Nat.factorization,Finsupp.single,congrArgand 21 more44 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- def
OeisA110475.exceptionalSetThe set of exceptional integers line 86 sourceSource documentation
The set of exceptional integers.
standard axioms: Quot.sound, propext what this means
Statement uses:
Finset,NatProof uses:
Insert.insert,OfNat.ofNat,Singleton.singleton4 instances, coercions and auxiliary constants left out.
def exceptionalSet : Finset ℕ := …
- theorem
OeisA110475.conjectureIt is conjectured that $1,2,3,4,5,6,7,9,11$ are the only positive integers which cannot be represented as the sum of two elements of indices $n$ such that $a(n) = 1$ sorry line 94 sourceSource documentation
It is conjectured that $1,2,3,4,5,6,7,9,11$ are the only positive integers which cannot be represented as the sum of two elements of indices $n$ such that $a(n) = 1$.
depends on sorry what this means
Statement uses:
Nat,GT.gt,OfNat.ofNat,Iff,Not,Membership.mem,Finset, OeisA110475.exceptionalSet,Exists,And,Eq, OeisA110475.a,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous12 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : ∀ m > 0, m ∉ exceptionalSet ↔ ∃ x y : ℕ, a x = 1 ∧ a y = 1 ∧ m = x + y := by …
Mentions: OeisA110475.exceptionalSet, OeisA110475.a