FormalConjectures/OEIS/309132.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
9 declarations, 1 contain sorry, 0 declared as axioms
Characterization of Carmichael numbers via squarefree denominators $a(n)$
$a(n)$ is the denominator of $F(n) = \operatorname{num}(B_{n-1})/n + \operatorname{den}(B_{n-1})/n^2$.
A composite number $n$ has squarefree $a(n)$ if and only if $n$ is a Carmichael number.
References:
- A309132
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
- A027641
- A027642
Imports (1)
- def
OeisA309132.a$a(n)$ is the denominator of $F(n)$ = A027641(n-1)/n + A027642(n-1)/n^2 line 44 sourceSource documentation
$a(n)$ is the denominator of $F(n)$ = A027641(n-1)/n + A027642(n-1)/n^2.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,Rat,bernoulli,HSub.hSub,HAdd.hAdd,HDiv.hDiv,Rat.num,Rat.den,HMul.hMul14 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- def
OeisA309132.IsCarmichaelNumberDefinition of a Carmichael number $n$: a composite number s.t line 54 sourceSource documentation
Definition of a Carmichael number $n$: a composite number s.t. $b^{n-1} \equiv 1 \pmod n$ for all $b$ coprime to $n$.
standard axioms: propext what this means
Statement uses:
NatProof uses:
And,Not,Nat.Prime,GT.gt,OfNat.ofNat,Eq,Nat.gcd,Nat.ModEq,HPow.hPow,HSub.hSub8 instances, coercions and auxiliary constants left out.
def IsCarmichaelNumber (n : ℕ) : Prop := …
- def
OeisA309132.IsCompositeHelper definition for "composite number" line 58 sourceSource documentation
Helper definition for "composite number"
standard axioms: propext what this means
Statement uses:
NatProof uses:
And,Not,Nat.Prime,GT.gt,OfNat.ofNat2 instances, coercions and auxiliary constants left out.
def IsComposite (n : ℕ) : Prop := ¬ Nat.Prime n ∧ n > 1 …
- lemma
OeisA309132.a_1line 62 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA309132.a,OfNat.ofNatProof uses:
id,of_eq_true,ite,Rat,bernoulli,HSub.hSub,HAdd.hAdd,HDiv.hDiv,Rat.num,Rat.den,HMul.hMul,Eq.trans,True,congrFun',congrArg,ite.congr_simp,False,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNatand 31 more57 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA309132.a_2line 65 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA309132.a,OfNat.ofNatProof uses:
id,of_eq_true,ite,Rat,bernoulli,HSub.hSub,HAdd.hAdd,HDiv.hDiv,Rat.num,Rat.den,HMul.hMul,Eq.trans,True,congrFun',congrArg,ite.congr_simp,False,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNatand 49 more73 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA309132.a_3line 68 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA309132.a,OfNat.ofNatProof uses:
id,of_eq_true,ite,Rat,bernoulli,HSub.hSub,HAdd.hAdd,HDiv.hDiv,Rat.num,Rat.den,HMul.hMul,Eq.trans,True,congrFun',congrArg,ite.congr_simp,False,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNatand 45 more59 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA309132.a_4line 71 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA309132.a,OfNat.ofNatProof uses:
id,of_eq_true,ite,Rat,bernoulli,HSub.hSub,HAdd.hAdd,HDiv.hDiv,Rat.num,Rat.den,HMul.hMul,Eq.trans,True,congrFun',congrArg,ite_congr,False,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNatand 44 more63 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA309132.a_5line 74 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA309132.a,OfNat.ofNatProof uses:
id,of_eq_true,ite,Rat,bernoulli,HSub.hSub,HAdd.hAdd,HDiv.hDiv,Rat.num,Rat.den,HMul.hMul,Eq.trans,True,congrFun',congrArg,ite.congr_simp,False,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNatand 51 more67 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA309132.carmichael_iff_squarefree_asorry line 85 sourcedepends on sorry what this means
Statement uses:
Nat,Iff,And, OeisA309132.IsComposite,Squarefree, OeisA309132.a, OeisA309132.IsCarmichaelNumberProof 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.