FormalConjectures/OEIS/3162.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, 2 contain sorry, 0 declared as axioms
A binomial coefficient summation
A binomial coefficient summation: $a(n) = S(3, n) / S(1, n)$, where for a positive integer $r$ we define $$S(r,n) = \sum_{k=0}^{\lfloor n/2 \rfloor} \left( \binom{n}{k} - \binom{n}{k-1} \right)^r$$ with $\binom{n}{-1} = 0$.
References:
- A003162
- H. W. Gould, Problem E2384 (proposal), Amer. Math. Monthly, 81 (1974), 170-171
Imports (1)
- def
OeisA3162.aA binomial coefficient summation: $a(n) = S(3, n) / S(1, n)$ line 38 sourceSource documentation
A binomial coefficient summation: $a(n) = S(3, n) / S(1, n)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RatProof uses:
Finset.sum,Finset.range,HAdd.hAdd,HDiv.hDiv,OfNat.ofNat,HSub.hSub,Nat.choose,ite,Eq,HPow.hPow18 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℚ := …
- def
OeisA3162.bAuxiliary sequence $b(n) = a(2n-1)$ line 46 sourceSource documentation
Auxiliary sequence $b(n) = a(2n-1)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RatProof uses: OeisA3162.a,
HSub.hSub,HMul.hMul,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
def b (n : ℕ) : ℚ := …
- theorem
OeisA3162.a_0Value of the sequenceaat 0 line 55 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Rat, OeisA3162.a,OfNat.ofNat,NatProof uses:
id,of_eq_true,HDiv.hDiv,Finset.sum,Singleton.singleton,Finset,HPow.hPow,HSub.hSub,Nat.choose,ite,Eq.trans,True,congrFun',congrArg,congr,Finset.sum_singleton,Nat.choose_self,Nat.cast_one,ite_congr,eq_trueand 15 more49 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 eval_a …
Mentions: OeisA3162.a
- theorem
OeisA3162.a_1Value of the sequenceaat 1 line 59 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Rat, OeisA3162.a,OfNat.ofNat,NatProof uses:
id,of_eq_true,HDiv.hDiv,Finset.sum,Singleton.singleton,Finset,HPow.hPow,HSub.hSub,Nat.choose,ite,Eq.trans,True,congrFun',congrArg,congr,Finset.sum_singleton,HAdd.hAdd,Nat.choose_succ_self_right,Mathlib.Meta.NormNum.IsNat.to_eq,Mathlib.Meta.NormNum.isNat_addand 17 more54 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 eval_a …
Mentions: OeisA3162.a
- theorem
OeisA3162.a_2Value of the sequenceaat 2 line 63 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Rat, OeisA3162.a,OfNat.ofNat,NatProof uses:
id,of_eq_true,HDiv.hDiv,Finset.sum,Finset.range,HPow.hPow,HSub.hSub,Nat.choose,ite,Eq.trans,True,congrFun',congrArg,congr,HAdd.hAdd,Finset.sum_range_succ,Singleton.singleton,Finset,Finset.sum_singleton,Nat.choose_zero_rightand 29 more67 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 = 1 := by eval_a …
Mentions: OeisA3162.a
- theorem
OeisA3162.a_3Value of the sequenceaat 3 line 67 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Rat, OeisA3162.a,OfNat.ofNat,NatProof uses:
id,of_eq_true,HDiv.hDiv,Finset.sum,Finset.range,HPow.hPow,HSub.hSub,Nat.choose,ite,Eq.trans,True,congrFun',congrArg,congr,HAdd.hAdd,Finset.sum_range_succ,Singleton.singleton,Finset,Finset.sum_singleton,Nat.choose_zero_rightand 40 more66 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 = 3 := by eval_a …
Mentions: OeisA3162.a
- theorem
OeisA3162.a_4Value of the sequenceaat 4 line 71 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Rat, OeisA3162.a,OfNat.ofNat,NatProof uses:
id,of_eq_true,HDiv.hDiv,Finset.sum,Finset.range,HPow.hPow,HSub.hSub,Nat.choose,ite,Eq.trans,True,congrFun',congrArg,congr,HAdd.hAdd,Finset.sum_range_succ,Singleton.singleton,Finset,Finset.sum_singleton,Nat.choose_zero_rightand 40 more66 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 = 6 := by eval_a …
Mentions: OeisA3162.a
- theorem
OeisA3162.a_is_integer$a(n)$ is an integer for all $n \ge 0$ sorry line 80 sourceSource documentation
$a(n)$ is an integer for all $n \ge 0$.
Gould proposed this as Monthly Problem E2384. The 1974 reference in the module docstring is that proposal, not a solution to it.
depends on sorry what this means
Statement uses:
Nat,Eq,Rat.den, OeisA3162.a,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_is_integer (n : ℕ) : (a n).den = 1 := by …
Mentions: OeisA3162.a
- theorem
OeisA3162.conjectureLet $b(n) = a(2n-1)$ sorry line 89 sourceSource documentation
Let $b(n) = a(2n-1)$. Then the supercongruence $b(n p^k) \equiv b(n p^{k-1}) \pmod{p^{3k}}$ holds for positive integers $n$ and $k$ and all primes $p \ge 5$.
- Zhi-Wei Sun, Nov 16 2019
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Nat.Prime,LE.le,Int.ModEq,HPow.hPow,Int,HMul.hMul,Rat.num, OeisA3162.b,HSub.hSubProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n k p : ℕ) (hn : 0 < n) (hk : 0 < k) (hp : p.Prime) (hp_ge : 5 ≤ p) : (b (n * p ^ k)).num ≡ (b (n * p ^ (k - 1))).num [ZMOD (p : ℤ) ^ (3 * k)] := by …Mentions: OeisA3162.b