FormalConjectures/OEIS/145355.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
6 declarations, 1 contain sorry, 0 declared as axioms
Factorial distance to nearest square
The sequence is defined as $$a(n) = \mathrm{round}\left(\frac{\mathrm{round}(\sqrt{n!})}{\left|(\mathrm{round}(\sqrt{n!}))^2 - n!\right|}\right)$$ for $n \ge 2$.
References:
Imports (1)
- def
OeisA145355.aThe sequence $a(n) = \mathrm{round}(\mathrm{round}(\sqrt{n!})/|(\mathrm{round}(\sqrt{n!}))^2 - n!|)$ line 40 sourceSource documentation
The sequence $a(n) = \mathrm{round}(\mathrm{round}(\sqrt{n!})/|(\mathrm{round}(\sqrt{n!}))^2 - n!|)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Real,Nat.factorial,Int,round,Real.sqrt,abs,HSub.hSub,HPow.hPow,OfNat.ofNat,Int.toNat,HDiv.hDiv19 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA145355.a_2Value of the sequenceaat 2 line 49 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA145355.a,OfNat.ofNatProof uses:
id,of_eq_true,Real,Nat.factorial,Int,round,Real.sqrt,abs,HSub.hSub,HPow.hPow,Int.toNat,HDiv.hDiv,Eq.trans,True,congrFun',congrArg,Int.floor,HAdd.hAdd,congr,Mathlib.Meta.NormNum.instAtLeastTwoand 62 more116 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 1 := by …
Mentions: OeisA145355.a
- theorem
OeisA145355.a_3Value of the sequenceaat 3 line 56 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA145355.a,OfNat.ofNatProof uses:
id,of_eq_true,Real,Nat.factorial,Int,round,Real.sqrt,abs,HSub.hSub,HPow.hPow,Int.toNat,HDiv.hDiv,Eq.trans,True,congrFun',congrArg,Int.toNat.match_1,Int.floor,HAdd.hAdd,Mathlib.Meta.NormNum.instAddMonoidWithOne'and 64 more111 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 1 := by …
Mentions: OeisA145355.a
- theorem
OeisA145355.a_4Value of the sequenceaat 4 line 63 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA145355.a,OfNat.ofNatProof uses:
id,of_eq_true,Real,Nat.factorial,Int,round,Real.sqrt,abs,HSub.hSub,HPow.hPow,Int.toNat,HDiv.hDiv,Eq.trans,True,congrFun',congrArg,Int.toNat.match_1,congr,Mathlib.Meta.NormNum.instAtLeastTwo,Mathlib.Meta.NormNum.IsNat.to_eqand 50 more105 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 5 := by …
Mentions: OeisA145355.a
- theorem
OeisA145355.a_5Value of the sequenceaat 5 line 71 sourceSource documentation
Value of the sequence
aat 5.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA145355.a,OfNat.ofNatProof uses:
id,of_eq_true,Real,Nat.factorial,Int,round,Real.sqrt,abs,HSub.hSub,HPow.hPow,Int.toNat,HDiv.hDiv,Eq.trans,True,congrFun',congrArg,Int.toNat.match_1,congr,Int.floor,HAdd.hAddand 57 more104 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem a_5 : a 5 = 11 := by …
Mentions: OeisA145355.a
- theorem
OeisA145355.conjectureThis sequence suggests that the distance between a factorial and the closest power is tightly bounded sorry line 81 sourceSource documentation
This sequence suggests that the distance between a factorial and the closest power is tightly bounded.
depends on sorry what this means
Statement uses:
Exists,Nat,LE.le,OfNat.ofNat, OeisA145355.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : ∃ C : ℕ, ∀ n : ℕ, 2 ≤ n → a n ≤ C := by …
Mentions: OeisA145355.a