Exact $2$-Adic Valuation & Zhi-Wei Sun's Open OEIS A189286 Conjecture
Self-contained Clausen convolution identity and exact closed-form valuation $v_2(a(n)) = s_2(n) + s_2(3n)$, resolving Zhi-Wei Sun's open 2011 mod-8 / power-of-two conjecture (conjecture_3).
Contribution status
Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.
How results are classifiedResolves Zhi-Wei Sun's open April 2011 conjecture (conjecture_3) on OEIS A189286 (left open after Tom Adamczewski's 2026 proof of integrality conjecture_1) completely from first principles by proving an elementary Clausen convolution identity and a strictly stronger exact $2$-adic valuation law: $v_2(a(n)) = s_2(n) + s_2(3n)$, where $s_2$ is the binary digit sum.
- Zhi-Wei Sun (Apr 19, 2011; OEIS A189286): Defined sequence $a(n)$ and posed both the integrality conjecture (
conjecture_1) and the mod-$8$ / power-of-two oddness conjecture (conjecture_3). - Tom Adamczewski (2026, OEIS Open, arXiv:2608.11941): Proved integrality (
conjecture_1), whileconjecture_3remained@[category research open]in DeepMind'sFormalConjectures/OEIS/189286.lean. - T. Clausen (1828) & A.-M. Legendre (1808): Classical hypergeometric square identity framework and $p$-adic factorial valuation formula.
clausen_conv_eq), self-contained termwise divisibility proof of conjecture_1, the exact closed-form $2$-adic law $v_2(a(n)) = s_2(n) + s_2(3n)$, and complete resolution of Sun's open conjecture_3.⊢ Mathematical Constructions & Proof Explorer
Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.
Mathematical Overview & Verification Notes
Main Results
Let $t(k) = \binom{6k}{3k}\binom{3k}{k}$ and consider OEIS A189286, defined by
In FormalConjectures/OEIS/189286.lean, Zhi-Wei Sun's integrality conjecture (conjecture_1) is marked @[category research solved] (proved in Tom Adamczewski's OEIS Open, arXiv:2608.11941), while Sun's Apr 19 2011 2-adic / mod-8 conjecture (conjecture_3) remains @[category research open, AMS 11].
In OeisA189286.lean (83 theorems, 1,677 lines, zero sorry, zero warnings, clean standard axioms), we resolve conjecture_3 completely from first principles (along with a self-contained proof of conjecture_1) by discovering and proving a strictly stronger exact closed-form 2-adic valuation theorem:
- Exact Clausen Convolution Identity (
OeisA189286.clausen_conv_eq)
For all $n \ge 0$,$$\sum_{k=0}^{n} \binom{6k}{3k}\binom{3k}{k}\binom{6(n-k)}{3(n-k)}\binom{3(n-k)}{n-k} = \sum_{m=0}^{n} \binom{6m}{3m}\binom{3m}{m}\binom{2m}{m}\binom{m}{n-m}(-432)^{n-m}.$$ - Termwise Divisibility & Self-Contained Integrality (
OeisA189286.denom_dvd_clausen_term,OeisA189286.conjecture_1)
For every $n \ge 1$ and $0 \le m \le n$, $(2n-1)\binom{3n}{n}$ individually divides $\binom{6m}{3m}\binom{3m}{m}\binom{2m}{m}\binom{m}{n-m} 432^{n-m}$, yielding a self-contained proof that(a n).den = 1for all $n \in \mathbb{N}$. - Exact 2-Adic Valuation Theorem (
OeisA189286.padicValNat_two_convNat,OeisA189286.padicValNat_two_aNat)
Let $s_2(n)$ denote the sum of binary digits (popcount) of $n$. Then:- For every $n \ge 0$,
$$v_2\!\left(\sum_{k=0}^{n} \binom{6k}{3k}\binom{3k}{k}\binom{6(n-k)}{3(n-k)}\binom{3(n-k)}{n-k}\right) = 3\, s_2(n).$$
- For every $n \ge 1$ (writing $a(n) = a_{\mathbb{N}}(n) \in \mathbb{N}$),
$$v_2(a(n)) = s_2(n) + s_2(3n).$$
- For every $n \ge 0$,
- Resolution of Zhi-Wei Sun's Open Conjecture (
OeisA189286.conjecture_3, verbatim from upstream)theorem conjecture_3 (n : ℕ) (hn : 0 < n) : ∃ m : ℤ, a n = 8 * m ∧ (Odd m ↔ ∃ k : ℕ, n = 2 ^ k)
Since $s_2(n) \ge 1$ and $s_2(3n) \ge 2$ for every $n \ge 1$ (because $3 \mid 3n$ prevents $3n$ from being a power of $2$), we immediately obtain $v_2(a(n)) = s_2(n) + s_2(3n) \ge 3$ (so $8 \mid a(n)$), with equality $v_2(a(n)) = 3 \iff s_2(n) = 1 \iff \exists k,\, n = 2^k$.
Proof Architecture
The entire proof is 100% elementary and self-contained (zero complex analysis, zero external hypergeometric libraries):
- Elementary Operator Proof of the Clausen Identity (
Section 3):
On plain rational sequences $\mathbb{N} \to \mathbb{Q}$, define formal differentiation $D$, shift $Z$, multiplication by $u = z(1-z)$, multiplication by $1 - 2z$, Cauchy convolution, and the 3rd-order symmetric-square operator$$\mathcal{L}(g) = D\!\big(u\big(D(u\, D g) - 2c\, g\big)\big) - 2c\, u\, D g \qquad \left(c = \frac{5}{36}\right).$$- The scaled sequence $f(k) = t(k)/432^k$ satisfies the 2nd-order equation $D(u\, D f) = c\, f$ (
fSeq_ode), so its self-convolution $g_1 = f * f$ satisfies $\mathcal{L}(g_1) = 0$ by the convolution product rule (seqLop_conv_self_eq_zero). - Defining the basis sequences
powU mrecursively bypowU (m+1) = u · powU m, the action of $\mathcal{L}$ onpowU mtelescopes against the recurrence $(m+1)^3 h(m+1) = \alpha(m) h(m)$ for $h(m) = c(m)/432^m$, proving $\mathcal{L}(g_2) = 0$ (seqLop_gClausen_eq_zero). - Uniqueness of solutions to $\mathcal{L}(g) = 0$ with $g(0) = 1$ (
eq_of_seqLop_eq_zero) yieldsclausen_conv_eq.
- The scaled sequence $f(k) = t(k)/432^k$ satisfies the 2nd-order equation $D(u\, D f) = c\, f$ (
- Termwise Divisibility via Single-Level Legendre Inequality (
Section 4):
Clearing factorials reduces $(2n-1)\binom{3n}{n} \mid c(m)\binom{m}{d}432^d$ ($n = m+d$, $0 \le d \le m$) to comparing $p$-adic valuations at each prime $p$. Using Legendre's formula (padicValNat_factorial), we prove that for every $q \ge 2$ and remainders $0 \le r_m, r_d < q$ ($s = r_m + r_d$),$$\left\lfloor\frac{6r_m}{q}\right\rfloor - \left\lfloor\frac{3r_m}{q}\right\rfloor + \left\lfloor\frac{2s}{q}\right\rfloor + \left\lfloor\frac{s}{q}\right\rfloor - \left\lfloor\frac{3s}{q}\right\rfloor + \mathbf{1}_{r_m < r_d} \ge 0$$
(floor_delta_nonneg), and strictly $\ge 1$ whenever $q \ge 4$ and $q \mid 2s - 1$ (floor_delta_pos_of_dvd). For $p = 3$ and level $q = 3$, either $d = 0$ (direct $+1$ surplusdiv_delta_three_d0) or $d \ge 1$ (covered by $v_3(432^d) = 3d \ge 3$). - Ultrametric Domination at $p = 2$ (
Section 5):
Bysub_one_mul_padicValNat_factorialat $p = 2$, $v_2(k!) = k - s_2(k)$, giving $v_2(c(m)) = 3\, s_2(m)$ (padicValNat_two_cNat) and $v_2\!\left(\binom{3n}{n}\right) = 2\, s_2(n) - s_2(3n)$ (padicValNat_two_choose_three).
In the Clausen sumclausenInt n:- The leading term $m = n$ has exact 2-adic valuation $v_2(c(n)) = 3\, s_2(n)$.
- Every strictly lower term $m < n$ ($d = n - m \ge 1$) carries $2^{3s_2(m) + 4d}$ (from $c(m)$ and $(-432)^d = (-27 \cdot 2^4)^d$). Since $s_2(n) \le s_2(m) + s_2(d)$ (
s2_add_le) and $s_2(d) \le d$ (s2_le_self),$$3\, s_2(m) + 4d \ge 3\, s_2(n) + (4d - 3\, s_2(d)) \ge 3\, s_2(n) + d \ge 3\, s_2(n) + 1.$$
Hence the entire tail sum is divisible by $2^{3s_2(n)+1}$, forcing $v_2(\text{convNat } n) = 3\, s_2(n)$ (padicValNat_two_convNat) and $v_2(a(n)) = 3\, s_2(n) - (2\, s_2(n) - s_2(3n)) = s_2(n) + s_2(3n)$ (padicValNat_two_aNat).
Verification & Axiom Audit
Compilation Command
Reuses the prebuilt Mathlib cache in /Users/arthurcolle/math_rip/new-results/collatz-coalescence:
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && lake env lean /Users/arthurcolle/math_rip/new-results/open-number-theory/OeisA189286.lean
Observed Output (EXIT=0, 0 warnings)
'OeisA189286.clausen_conv_eq' depends on axioms: [propext, Classical.choice, Quot.sound]
'OeisA189286.conjecture_1' depends on axioms: [propext, Classical.choice, Quot.sound]
'OeisA189286.padicValNat_two_convNat' depends on axioms: [propext, Classical.choice, Quot.sound]
'OeisA189286.padicValNat_two_aNat' depends on axioms: [propext, Classical.choice, Quot.sound]
'OeisA189286.conjecture_3' depends on axioms: [propext, Classical.choice, Quot.sound]
Forbidden-Token Audit
grep -rnE '\b(sorry|admit|axiom|native_decide)\b' /Users/arthurcolle/math_rip/new-results/open-number-theory/OeisA189286.lean
Result: 0 matches (NO_FORBIDDEN_TOKENS).
Novelty-Check Receipt
Before formalizing, a mandatory novelty and non-duplication audit was completed:
- Repository Non-Duplication Audit:
- Checked all directories in
/Users/arthurcolle/math_rip/new-results/viafindandgrep -rn '189286'. - Confirmed A189286 is completely untouched in
new-results/(only the unsolved upstream statement exists informal-conjectures-contrib/FormalConjectures/OEIS/189286.lean, and it is completely disjoint fromSupercongruences.lean(A212334 / A357513) and Pane 6's targets).
- Checked all directories in
- Literature & Web Search Audit:
- Checked OEIS A189286,
FormalConjectures/OEIS/189286.lean, and web/arXiv searches for"A189286" "Zhi-Wei Sun" "power of two" OR "mod 8","2608.11941" "A189286", and"6k" "3k" "2n-1" "power of two" "Sun". - Confirmed that
arXiv:2608.11941(OEIS Open, Tom Adamczewski, 2026) resolved onlyconjecture_1(integrality), whileconjecture_3(Zhi-Wei Sun's Apr 19 2011 mod-8 / exact power-of-two oddness conjecture) remains explicitly@[category research open, AMS 11]with no published proof, and our stronger exact formula $v_2(a(n)) = s_2(n) + s_2(3n)$ was not found in the literature.
- Checked OEIS A189286,
- Python Numerical Verification:
- Verified
clausen_conv_eq,denom_dvd_clausen_term(for all $1 \le n < 55$),floor_delta_nonneg/floor_delta_pos_of_dvd(for all $2 \le q < 60$ and all $0 \le r_m, r_d < q$), the 3rd-order operator identityseqLop, and both exact 2-adic formulas $v_2(\text{convNat } n) = 3 s_2(n)$ and $v_2(a(n)) = s_2(n) + s_2(3n)$ for all $1 \le n < 80$ prior to formalization.
- Verified
Exact Discriminant Formula and Universal Modular Reducibility for OEIS A217785
Main Results
For $n \ge 0$, consider the polynomial family from OEIS A217785 and FormalConjectures/OEIS/217785.lean:
Zhi-Wei Sun's Conjecture 4 (conjecture_4, @[category research open, AMS 11 12]) asserts that for $n \ge 1$, $s_n(x)$ is reducible modulo every prime $p$ if and only if $n = 8k(k+1)$ for some integer $k > 0$.
In OeisA217785.lean (31 lemmas/theorems, zero sorry, zero warnings, clean standard axioms), we prove the entire $(\Leftarrow)$ direction of conjecture_4 for all $k \ge 1$ and all primes $p$, together with the exact closed-form discriminant root formula, the sharp Stickelberger–Frobenius quadratic-residue obstruction for all even degrees $n = 2m \ge 2$, and the exact square-discriminant classification explaining why $8k(k+1)$ is the unique even family:
- Exact Algebraic & Differential Identities (
OeisA217785.polySR_mul_X_sub_one_sq,OeisA217785.polySR_diff_identity)
Over every commutative ring $R$ and every $n \in \mathbb{N}$:$$(X - 1)^2 s_n(X) = (n + 1) X^{n+2} - (n + 2) X^{n+1} + 1,$$$$(X - 1) s_n'(X) + 2 s_n(X) = (n + 1)(n + 2) X^n.$$ - Exact Closed-Form Discriminant Root Product (
OeisA217785.polySR_disc_root_formula)
Over any field $K$ in which $s_n(X)$ splits as $(n + 1) \prod_{j=0}^{n-1} (X - r_j)$ with $(n + 1)(n + 2) \ne 0$:$$(n + 1)^n (-1)^{\binom{n}{2}} \Delta^2 = 2 (n + 2)^{n - 1}, \qquad \Delta = \prod_{0 \le i < j < n} (r_j - r_i),$$
yielding $\operatorname{disc}(s_n) = (-1)^{\binom{n}{2}} \cdot 2 \cdot (n + 1)^{n - 2} (n + 2)^{n - 1}$ for all $n \ge 2$. - Universal Modular Factorizations at Ramified Primes (
polyS_mod_two_eq_sq,polyS_not_irreducible_two,polyS_not_irreducible_of_dvd_succ,polyS_not_irreducible_of_dvd_add_two)- At $p = 2$, for every $m \ge 1$, $s_{2m}(X) = \left(\sum_{j=0}^m X^j\right)^2$ in $\mathbb{F}_2[X]$, hence reducible.
- At every odd prime $p \mid (n + 1)$ with $n \ge 4$, $(X - 1)^2 s_n(X) = -(X^{(n+1)/p} - 1)^p$ in $\mathbb{F}_p[X]$, giving an explicit non-trivial factorization $s_n(X) = -(X - 1)^{p-2} h(X)^p$.
- At every odd prime $p \mid (2m + 2)$ with $m \ge 1$, $(X - 1)^2 s_{2m}(X) = -(X^{(2m+2)/p} - 1)^p$ in $\mathbb{F}_p[X]$ with $2 \mid (2m+2)/p$, again yielding an explicit factorization.
- Sharp Stickelberger–Frobenius Quadratic-Residue Obstruction (
polyS_even_irreducible_imp_not_isSquare,polyS_even_irreducible_imp_legendreSym_eq_neg_one)
For every $m \ge 1$ and every odd prime $p \nmid (2m + 1)(m + 1)$, if $s_{2m}(X)$ is irreducible over $\mathbb{F}_p$, then working in $K = \operatorname{AdjoinRoot}(s_{2m})$ shows that Frobenius acts as an even-length $(2m)$-cycle on the $2m$ distinct conjugates $\alpha^{p^j}$, flipping the Vandermonde product $\Delta^p = -\Delta$. Combined withpolySR_disc_root_formula, this forces:$$\left(\frac{(-1)^m (m + 1)}{p}\right) = -1.$$ - Complete Proof of the $(\Leftarrow)$ Direction of OEIS A217785 Conjecture 4 (
OeisA217785.conjecture_4_mpr)theorem conjecture_4_mpr (n : ℕ) (hn : ∃ k : ℕ, 0 < k ∧ n = 8 * k * (k + 1)) : ∀ p : ℕ, p.Prime → ¬ Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) (polyS n))
For $n = 8k(k+1)$, $m = 4k(k+1)$ is even and $m + 1 = (2k+1)^2$ is a square, so $(-1)^m(m+1) = (2k+1)^2$ is a square modulo every prime $p$; hence $s_{8k(k+1)}(x)$ is reducible modulo every prime $p$. - Exact Square-Discriminant Classification (
OeisA217785.even_disc_isSquare_iff)
For every $m \ge 1$, $(-1)^m(m+1)$ is a square in $\mathbb{Z}$ if and only if $2m = 8k(k+1)$ for some $k > 0$.
Verification & Axiom Audit (OeisA217785.lean)
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && lake env lean /Users/arthurcolle/math_rip/new-results/open-number-theory/OeisA217785.lean
- Exit code:
0, 0 warnings, 0 forbidden tokens (sorry|admit|axiom|native_decide). #print axioms: All 11 main theorems depend strictly on[propext, Classical.choice, Quot.sound].
Novelty-Check Receipt (OeisA217785.lean)
- Repository Non-Duplication Audit: Checked
/Users/arthurcolle/math_rip/new-results/and/Users/arthurcolle/math_rip/math.distributed.systems/for217785,polyS, and8 * k * (k + 1); confirmed zero existing formalizations. - Literature & Web Search Audit: Searched OEIS A217785, GitHub, Palomar, and arXiv for
"OeisA217785","A217785" "conjecture_4","reducible modulo every prime" "8k(k+1)", and"(n+1)^(n-2)" "(n+2)^(n-1)" discriminant. Confirmedconjecture_4remains@[category research open, AMS 11 12]inFormalConjectures/OEIS/217785.leanwith no prior Lean 4 formalization of the discriminant formula or the universal modular reducibility theorem (conjecture_4_mpr). - Python Numerical Verification: Verified $\operatorname{disc}(s_n) = (-1)^{n(n-1)/2} \cdot 2 \cdot (n+1)^{n-2} (n+2)^{n-1}$ by exact integer Bareiss Sylvester-matrix resultant computation for all $1 \le n \le 12$.