\documentclass[11pt,reqno]{amsart} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{booktabs,array} \usepackage[hidelinks]{hyperref} \usepackage[margin=1in]{geometry} % Theorem environments \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} % Notation macros \newcommand{\N}{\mathbb{N}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\C}{\mathbb{C}} \newcommand{\F}{\mathbb{F}} \newcommand{\rev}{\operatorname{rev}} \newcommand{\leg}[2]{\left(\frac{#1}{#2}\right)} \title[Supercongruences for Sums of Cubes of Central Binomial Coefficients]{Complete Resolution of Peter Bala's Supercongruence Conjectures for $\sum \binom{2k}{k}^3$ via Zero-Division Jacobi Quartic Endomorphisms} \author{Sai Smaran S B} \address{Duke University} \email{sai.smaran@duke.edu} \subjclass[2020]{Primary 11A07, 11B65; Secondary 11G05, 33C45, 68V20} \keywords{Supercongruences, central binomial coefficients, Legendre polynomials, Clausen's identity, V\'elu isogenies, Jacobi quartics, Schur congruences, Wolstenholme's theorem, Lean 4 formal verification} \begin{document} \begin{abstract} Let $a(n) := \sum_{k=0}^{n} \binom{2k}{k}^3$ (OEIS~\texttt{A079727}) and let $\mathcal{P}_{-7}$ denote the set of rational primes $p \equiv 3, 5, 6 \pmod 7$ (OEIS~\texttt{A003625}), i.e., the primes inert in $\Q(\sqrt{-7})$. In July~2024, Peter Bala proposed four supercongruence conjectures for $a(n)$ on \texttt{A079727}: \begin{enumerate} \item[(1)] $a(p^2) \equiv 8 + p^2 \pmod{p^3}$ for all $p \in \mathcal{P}_{-7}$; \item[(2)] $a(p(p-1)) \equiv p^2 \pmod{p^3}$ for all $p \in \mathcal{P}_{-7}$; \item[(3)] $a((p^2 - 1)/2) \equiv p^2 \pmod{p^4}$ for all $p \in \mathcal{P}_{-7}$; \item[(4)] $n^2 \mid a((n - 1)/2)$ whenever $n = \prod_{p \in S} p$ is a product of distinct primes $p \in \mathcal{P}_{-7}$. \end{enumerate} We prove all four conjectures completely by a unified, purely algebraic method requiring neither modular forms, $p$-adic cohomology, Hensel lifting, nor Morley's congruence. Our key innovation is an elementary proof of the universal shifted-Legendre supercongruence \[ L_{(p^2 - 1)/2}(x) \equiv (-1)^{(p-1)/2} p \pmod{p^3 R} \] for every odd prime $p$, every torsion-free commutative ring $R$, and every $x \in R$ satisfying $p \mid L_{(p-1)/2}(x)$, where $L_n(X) = \sum_{k=0}^{n} (-1)^k \binom{n}{k}\binom{n+k}{k} X^k = P_n(1 - 2X)$. This is achieved by constructing \emph{zero-division multiplication polynomial triples} $(A_n, B_n, C_n) \in R[u]^3$ on the Jacobi quartic $y^2 = 1 - 2z u^2 + u^4$ ($z = 1 - 2x$) via a Montgomery double-and-add ladder, proving their exact degree bounds and reflection symmetries $\rev_{n^2}(A_n) = (-1)^{(n-1)/2} B_n$ for odd $n$, and combining the formal logarithm identity $f(u_p) = p f$ with Schur's congruence for $L_{qp+m}$. Specializing to $x_0 = 2 - 3\omega \in \Z[\omega] = \Z[(1+\sqrt{-7})/2]$ (where $x_0^2 - x_0 = -16$, and $p \mid L_{(p-1)/2}(x_0)$ is proved purely polynomially from an explicit V\'elu $7$-isogeny identity), squaring lifts the congruence to $L_{(p^2-1)/2}(x_0)^2 \equiv p^2 \pmod{p^4}$. Coupling this with Clausen's polynomial identity, harmonic-sum block cancellation $p^2 \mid \sum_{r=0}^{(p-1)/2} \binom{2(pq+r)}{pq+r}^3$, base-$p$ carry vanishing, and a Wolstenholme-type congruence for $\binom{2p^2}{p^2}$ establishes (1)--(4). All four conjectures have been formally verified end-to-end in Lean~4.33.1 against \texttt{FormalConjectures/OEIS/79727.lean} with zero \texttt{sorry}, zero custom axioms, and only the standard axioms $\{\texttt{propext}, \texttt{Classical.choice}, \texttt{Quot.sound}\}$. \end{abstract} \maketitle \section{Introduction and Main Results}\label{sec:intro} Define the sequence of partial sums of cubes of central binomial coefficients \begin{equation}\label{eq:def-an} a(n) := \sum_{k=0}^{n} \binom{2k}{k}^3 \qquad (n \ge 0), \end{equation} whose initial values are $a(0) = 1$, $a(1) = 9$, $a(2) = 225$, $a(3) = 8{,}225$, $a(4) = 351{,}225$, cataloged as OEIS~\texttt{A079727}~\cite{OEIS}. Let \begin{equation}\label{eq:def-P7} \mathcal{P}_{-7} := \{ p \text{ prime} : p \equiv 3, 5, \text{ or } 6 \pmod 7 \} \end{equation} denote OEIS~\texttt{A003625}~\cite{OEIS}, the set of rational primes $p$ that remain inert in the quadratic integer ring $\Z[\omega] = \Z[(1 + \sqrt{-7})/2]$ (equivalently, $\leg{-7}{p} = -1$, since $-7 \equiv 1 \pmod 4$ and $3, 5, 6$ are the quadratic nonresidues modulo~$7$). Truncated hypergeometric sums involving $\binom{2k}{k}^3 / m^k$ occupy a central place in the theory of supercongruences and their connections to Legendre polynomials and elliptic curves with complex multiplication (CM); see, for example, Zhi-Hong Sun~\cite{Sun2011PAMS,Sun2013JNT}. In particular, the unweighted sum $a(n)$ corresponds to the special CM parameter $m = 1$, which is tied via Clausen's formula~\cite{Clausen1828} to the shifted Legendre polynomial $L_n(X) = P_n(1 - 2X)$ evaluated at the quadratic integer $x_0 = (1 - 3\sqrt{-7})/2 \in \Z[\omega]$, where $x_0(1 - x_0) = 16$. At the primes $p \in \mathcal{P}_{-7}$, the elliptic curve $E : y^2 = x^3 - 35x - 98$ of $j$-invariant $-3375$ (which has CM by $\Z[\omega]$) has supersingular reduction modulo~$p$, forcing $p \mid L_{(p-1)/2}(x_0)$ and hence $a((p-1)/2) \equiv 0 \pmod{p^2}$~\cite{Sun2013JNT}. In July~2024, Peter Bala posted four open supercongruence conjectures on OEIS~\texttt{A079727}~\cite{OEIS} extending this phenomenon from $n = (p-1)/2$ to $n = (p^2 - 1)/2$, $p(p - 1)$, $p^2$, and arbitrary squarefree products of primes in $\mathcal{P}_{-7}$. All four were subsequently formalized as open research problems (\texttt{OeisA79727.conjecture1} through \texttt{OeisA79727.conjecture4}) in the Lean~4 \texttt{formal-conjectures} benchmark~\cite{FormalConjectures}. Our first main result resolves all four conjectures completely. \begin{theorem}[Main Theorem --- Resolution of Bala's Conjectures]\label{thm:main} Let $a(n) = \sum_{k=0}^{n} \binom{2k}{k}^3$ and $\mathcal{P}_{-7} = \{ p \text{ prime} : p \equiv 3, 5, 6 \pmod 7 \}$. \begin{enumerate} \item[\textup{(1)}] For every prime $p \in \mathcal{P}_{-7}$, \[ a(p^2) \equiv 8 + p^2 \pmod{p^3}. \] \item[\textup{(2)}] For every prime $p \in \mathcal{P}_{-7}$, \[ a\bigl(p(p-1)\bigr) \equiv p^2 \pmod{p^3}. \] \item[\textup{(3)}] For every prime $p \in \mathcal{P}_{-7}$, \[ a\!\left(\frac{p^2 - 1}{2}\right) \equiv p^2 \pmod{p^4}. \] \item[\textup{(4)}] For every finite set $S \subset \mathcal{P}_{-7}$ \textup{(}including $S = \emptyset$\textup{)}, setting $n = \prod_{p \in S} p$, \[ n^2 \;\Big|\; a\!\left(\frac{n - 1}{2}\right). \] \end{enumerate} \end{theorem} The deepest part of Theorem~\ref{thm:main} is the modulo-$p^4$ supercongruence~(3). Via Clausen's polynomial identity, proving $a((p^2 - 1)/2) \equiv p^2 \pmod{p^4}$ reduces to establishing the modulo-$p^3$ congruence \begin{equation}\label{eq:Lm2-target} L_{(p^2 - 1)/2}(x_0) \equiv (-1)^{(p-1)/2} p \pmod{p^3 \Z[\omega]}, \end{equation} because squaring \eqref{eq:Lm2-target} automatically gains an extra power of~$p$ to yield $L_{(p^2-1)/2}(x_0)^2 \equiv p^2 \pmod{p^4 \Z[\omega]}$. In fact, \eqref{eq:Lm2-target} is an instance of a general theorem about Legendre polynomials that requires no special properties of $x_0$ beyond the single divisibility $p \mid L_{(p-1)/2}(x)$. Recall that the $n$-th \emph{shifted Legendre polynomial} $L_n(X) \in \Z[X]$ is defined by \begin{equation}\label{eq:def-Ln} L_n(X) := \sum_{k=0}^{n} (-1)^k \binom{n}{k}\binom{n+k}{k} X^k = P_n(1 - 2X) \qquad (n \ge 0), \end{equation} where $P_n(Z) \in \Z[\tfrac{1}{2}][Z]$ is the classical $n$-th Legendre polynomial. A commutative ring $R$ is called \emph{torsion-free} (as a $\Z$-module) if $m \cdot r = 0$ implies $r = 0$ for every integer $m \ge 1$ and every $r \in R$. \begin{theorem}[Universal Legendre Supercongruence]\label{thm:universal} Let $p$ be an odd prime, let $R$ be a torsion-free commutative ring, and let $x \in R$ satisfy \[ p \;\Big|\; L_{(p-1)/2}(x) \quad \text{in } R. \] Then \begin{equation}\label{eq:universal} L_{(p^2 - 1)/2}(x) \equiv (-1)^{(p-1)/2} p \pmod{p^3 R}. \end{equation} Equivalently, for any $z \in R$ with $p \mid P_{(p-1)/2}(z)$ in $R[\tfrac{1}{2}]$, one has $P_{(p^2 - 1)/2}(z) \equiv (-1)^{(p-1)/2} p \pmod{p^3 R[\tfrac{1}{2}]}$. \end{theorem} \begin{remark}[Scope of the formalization of Theorem~\ref{thm:universal}]\label{rem:univ-scope} While every part of Theorem~\ref{thm:main} is formally verified end-to-end in Lean~4.33.1 with zero gaps (Section~\ref{sec:lean}), in the Lean proof file \texttt{OeisA79727.conjecture3.lean} we formalize Theorem~\ref{thm:universal} directly for $R = \Z[\omega]$, $x = x_0$, and $p \ge 5$ (lemma \texttt{shiftedLegendre\_m2\_eval\_x0\_mod\_p3}), handling the single prime $p = 3$ of Theorem~\ref{thm:main}(3) directly by kernel computation. In Section~\ref{sec:jacobi}, we write the exact same zero-division Jacobi quartic proof over an arbitrary torsion-free commutative ring $R$ and all odd primes $p \ge 3$, as no step of the algebraic argument uses any property specific to $\Z[\omega]$ or $x_0$, and the $p$-adic valuation check covers $p = 3$ verbatim as well. \end{remark} \subsection*{Architecture of the proof} Our proofs of Theorems~\ref{thm:main} and~\ref{thm:universal} are entirely elementary and self-contained, organized around three algebraic pillars: \begin{enumerate} \item \emph{Purely polynomial V\'elu $7$-isogeny supersingularity} (Section~\ref{sec:velu}): Rather than appealing to Deuring's criterion or elliptic-curve group schemes, we prove $p \mid L_{(p-1)/2}(x_0)$ for every $p \in \mathcal{P}_{-7}$ directly from an explicit integer polynomial identity $N^3 - 1715 X^2 D^4 N + 33614 X^3 D^6 = W^2 Q_s$ encoding the endomorphism $\sqrt{-7}$ on $y^2 = x^3 - 35x - 98$, combined with an explicit affine transformation $X = a + b u$ over $\Z[\omega]$ into Legendre form and quadratic reciprocity $\leg{-7}{p} = -1$. \item \emph{Clausen's polynomial identity and block harmonic cancellation} (Sections~\ref{sec:clausen}--\ref{sec:conj4}): We prove Clausen's identity $L_n(X)^2 = \sum_{k=0}^{n} \binom{n+k}{2k}\binom{2k}{k}^2 (X^2 - X)^k$ in $\Z[X]$ via a third-order linear differential equation. Evaluating at $x_0$ (where $x_0^2 - x_0 = -16$) converts $L_n(x_0)^2$ into a weighted sum of $\binom{2k}{k}^3$. At $n = m := (p-1)/2$ this yields $p^2 \mid a(m)$; at $n = p + m$ (using Schur's congruence $p \mid L_{p+m}(x_0)$) it forces the exact harmonic-difference cancellation $\sum_{r=0}^{m} \binom{2r}{r}^3 (H_{2r} - H_r) \equiv 0 \pmod p$ for $p \ge 5$, hence the uniform block divisibility $p^2 \mid \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3$ for all $q \ge 0$. Combining this with base-$p$ carry vanishing in the upper half-blocks proves Theorem~\ref{thm:main}(4) via the Chinese remainder theorem. \item \emph{Zero-division Jacobi quartic endomorphisms and Clausen modulo $p^4$} (Sections~\ref{sec:jacobi}--\ref{sec:conj123}): To prove Theorem~\ref{thm:universal}, we work on the formal Jacobi quartic $y^2 = Q(u) := 1 - 2z u^2 + u^4$ ($z = 1 - 2x$), whose invariant differential is $du / y = \sum_{n=0}^{\infty} L_n(x) u^{2n}\,du$. Defining multiplication polynomials $(A_n, B_n, C_n) \in R[u]^3$ by a Montgomery double-and-add ladder requires \emph{zero polynomial division}, hits the exact theoretical degree $n^2$, and obeys the reflection symmetry $\rev_{n^2}(A_n) = (-1)^{(n-1)/2} B_n$ for odd~$n$. Extracting coefficients of the formal logarithm identity $f(A_p / B_p) = p f$ together with Schur's congruence $p \mid L_{qp+m}(x)$ forces $p \mid [u^j](A_p/B_p)$ for all $j < p^2$, then $p \mid [u^k] B_p$ for all $k \ge 1$ by reflection, then $[u^{p^2}](A_p/B_p) \equiv (-1)^m \pmod{p^2}$, and finally $L_{m_2}(x) \equiv (-1)^m p \pmod{p^3}$. Squaring lifts this to $L_{m_2}(x_0)^2 \equiv p^2 \pmod{p^4}$; evaluating Clausen's identity at $n = m_2 = (p^2-1)/2$ and using our block divisibility $p^2 \mid \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3$ to annihilate the $O(p^2)$ weight perturbations yields Theorem~\ref{thm:main}(3). Finally, base-$p$ carry vanishing for $(p^2-1)/2 < k < p^2$ gives Theorem~\ref{thm:main}(2), and the Wolstenholme-type congruence $\binom{2p^2}{p^2} \equiv 2 \pmod{p^3}$ yields Theorem~\ref{thm:main}(1). We also record (Remark~\ref{rem:wronskian}) the short standalone Wronskian proof of $L_{m_2}(x_0) \equiv (-1)^m p \pmod{p^2}$ formalized in \texttt{conjecture1.lean} and \texttt{conjecture2.lean}. \end{enumerate} \section{The Ring $\Z[\omega]$ and Algebraic V\'elu Supersingularity}\label{sec:velu} For any commutative ring $R$, let \[ \Z[\omega] \otimes_{\Z} R \;\cong\; R[\omega] / (\omega^2 - \omega + 2), \] represented concretely as ordered pairs $(a, b) \in R^2$ corresponding to $a + b\omega$, with multiplication \[ (a + b\omega)(c + d\omega) = (ac - 2bd) + (ad + bc + bd)\omega. \] We write $R[\omega]$ for this ring and single out the three special elements \begin{equation}\label{eq:def-x0-z0} \omega := (0, 1), \qquad x_0 := 2 - 3\omega, \qquad z_0 := 1 - 2x_0 = 6\omega - 3. \end{equation} In $\C$, taking $\omega = (1 + \sqrt{-7})/2$ gives $2\omega - 1 = \sqrt{-7}$, $x_0 = (1 - 3\sqrt{-7})/2$, and $z_0 = 3\sqrt{-7}$. Direct expansion using $\omega^2 = \omega - 2$ gives the identities \begin{equation}\label{eq:x0-identities} (2\omega - 1)^2 = -7, \qquad x_0(1 - x_0) = 16, \qquad x_0^2 - x_0 = -16 \end{equation} in $R[\omega]$ for every commutative ring $R$. \begin{lemma}[Quadratic reciprocity for $-7$]\label{lem:neg7-half} For every prime $p \in \mathcal{P}_{-7}$, one has $p \notin \{2, 7\}$ and \[ (-7)^{(p-1)/2} \equiv -1 \pmod p. \] \end{lemma} \begin{proof} Since $p \equiv 3, 5, 6 \pmod 7$, clearly $p \neq 7$, and since $2 \equiv 2 \pmod 7$, we also have $p \neq 2$, so $p$ is an odd prime. By Euler's criterion and quadratic reciprocity, since $7 \equiv 3 \pmod 4$, \[ (-7)^{(p-1)/2} \equiv \leg{-7}{p} = \leg{-1}{p}\leg{7}{p} = (-1)^{(p-1)/2} \cdot (-1)^{\frac{p-1}{2}\cdot\frac{7-1}{2}} \leg{p}{7} = \leg{p}{7} \pmod p. \] The nonzero squares modulo~$7$ are $\{1, 2, 4\}$, whereas $p \bmod 7 \in \{3, 5, 6\}$, so $\leg{p}{7} = -1$. \end{proof} We next establish the supersingularity relation $p \mid L_{(p-1)/2}(x_0)$ by a completely elementary polynomial argument modeled on V\'elu's explicit formula~\cite{Velu1971} for the degree-$7$ endomorphism $\sqrt{-7}$ on the elliptic curve $y^2 = x^3 - 35x - 98$. \begin{lemma}[Explicit V\'elu $7$-isogeny polynomial identity]\label{lem:velu-id} Define the integer polynomials $D, N, Q_s, W \in \Z[X]$ by \begin{align*} D(X) &:= 1 + 7X - 21X^2 - 91X^3, \\ N(X) &:= 1 + 14X + 343X^2 - 588X^3 - 24353X^4 - 120050X^5 - 285719X^6 - 422576X^7, \\ Q_s(X) &:= 1 - 35X^2 - 98X^3, \\ W(X) &:= N(X)D(X) - X N'(X) D(X) + 2X N(X) D'(X). \end{align*} Then the following exact polynomial identity holds in $\Z[X]$: \begin{equation}\label{eq:velu-ring} N(X)^3 - 1715 X^2 D(X)^4 N(X) + 33614 X^3 D(X)^6 = W(X)^2 Q_s(X). \end{equation} \end{lemma} \begin{proof} Expanding $W(X)$ gives \[ W(X) = 1 + 21X - 252X^2 + 1764X^3 + 43806X^4 + 519302X^5 + 3834740X^6 + 15183924X^7 + 27681129X^8 + 8252237X^9, \] and direct multiplication of the degree-$21$ polynomials on both sides of \eqref{eq:velu-ring} confirms equality coefficient by coefficient (verified inside Lean's kernel via \texttt{velu\_ring\_identity}). \end{proof} \begin{proposition}[Algebraic V\'elu Supersingularity]\label{prop:supersing} For every prime $p \in \mathcal{P}_{-7}$ and $m := (p - 1)/2$, \[ L_m(x_0) \equiv 0 \pmod{p\,\Z[\omega]}. \] \end{proposition} \begin{proof} We first prove in $\F_p[X]$ that $[X^m]\bigl(Q_s(X)^m\bigr) = 0$. Reduce $D, N, Q_s, W$ modulo~$p$ and set \[ D_2(X) := D(X^2), \quad N_2(X) := N(X^2), \quad Q(X) := Q_s(X^2), \quad P(X) := Q_s(-7 X^2), \] and $v(X) := X D_2(X) N_2(X)^m \in \F_p[X]$. Note that $D(0) = N(0) = Q_s(0) = 1$, $v(0) = 0$, $v'(0) = 1$, and \[ P(X) = 1 - 35(-7 X^2)^2 - 98(-7 X^2)^3 = 1 - 1715 X^4 + 33614 X^6. \] Since $N_2(X) \in 1 + X^2 \F_p[X]$, Freshman's dream in characteristic~$p$ yields $N_2(X)^p \in 1 + X^{2p} \F_p[X]$, so $X^{2p} \mid (N_2^p - 1)$. Using $2m + 1 = p$, we obtain \begin{equation}\label{eq:v2N} v^2 N_2 - X^2 D_2^2 = X^2 D_2^2 (N_2^p - 1) \equiv 0 \pmod{X^{2p+2}}. \end{equation} Differentiating \eqref{eq:v2N} gives $X^{2p+1} \mid \bigl(2 v v' N_2 + 2X v^2 N'(X^2) - 2X D_2^2 - 4 X^3 D_2 D'(X^2)\bigr)$. Multiplying by $N_2$ and subtracting $2X N'(X^2)(v^2 N_2 - X^2 D_2^2)$, and using $W(X^2) = N_2 D_2 - X^2 N'(X^2) D_2 + 2 X^2 N_2 D'(X^2)$, yields \[ 2 v v' N_2^2 - 2 X D_2 W(X^2) \equiv 0 \pmod{X^{2p+1}}. \] Squaring this congruence (via $A^2 - B^2 = (A+B)(A-B)$) and subtracting $4 (v')^2 N_2^3 (v^2 N_2 - X^2 D_2^2)$ gives \[ 4 X^2 D_2^2 \bigl(N_2^3 (v')^2 - W(X^2)^2\bigr) \equiv 0 \pmod{X^{2p+1}}. \] Since $p$ is odd and $D_2(0) = 1$, the factor $4 D_2(X)^2$ has nonzero constant term in $\F_p$, and $2p + 1 \ge p + 2$, so cancelling $X^2$ and $4 D_2^2$ yields \begin{equation}\label{eq:N3vp} N_2^3 (v')^2 \equiv W(X^2)^2 \pmod{X^p}. \end{equation} Substituting $X \mapsto X^2$ into \eqref{eq:velu-ring} modulo~$p$ gives $N_2^3 - 1715 X^4 D_2^4 N_2 + 33614 X^6 D_2^6 = W(X^2)^2 Q$. Comparing with $N_2^3 P(v) = N_2^3 - 1715 N_2 (v^2 N_2)^2 + 33614 (v^2 N_2)^3$ and using \eqref{eq:v2N} yields $N_2^3 P(v) \equiv W(X^2)^2 Q \pmod{X^p}$. Subtracting $Q$ times \eqref{eq:N3vp} and cancelling the unit $N_2^3 \pmod{X^p}$ gives \begin{equation}\label{eq:Pv} P(v) \equiv (v')^2 Q \pmod{X^p}. \end{equation} Now set $f(X) := P(X)^m$ and $g(X) := Q(X)^m$. Using $2m + 1 = p$, \eqref{eq:Pv}, and the fact that $h^p \equiv 1 \pmod{X^p}$ whenever $h(0) = 1$, we have in $\F_p[X]$: \begin{align*} Q\bigl((f(v)v')^2 - g^2\bigr) &= P(v)^{2m}\bigl((v')^2 Q - P(v)\bigr) + \bigl(P(v)^p - 1\bigr) - (Q^p - 1) \equiv 0 \pmod{X^p}. \end{align*} Because $Q(0)(f(v(0))v'(0) + g(0)) = 1 \cdot (1 + 1) = 2 \neq 0$ in $\F_p$, cancelling $Q(f(v)v' + g)$ gives \begin{equation}\label{eq:fv-g} f(v) v' \equiv g \pmod{X^p}. \end{equation} We extract the coefficient of $X^{p-1}$ from both sides of \eqref{eq:fv-g}. Writing $f(X) = \sum_{k \ge 0} c_k X^k$, for $0 \le k < p - 1$ we have $v^k v' = (k + 1)^{-1} (v^{k+1})'$ in $\F_p[X]$, whose $X^{p-1}$-coefficient vanishes because $p = 0$ in $\F_p$; for $k \ge p$ we have $X^p \mid v^k$; and for $k = p - 1$, writing $v = X u$ with $u(0) = 1$ gives $v^{p-1} v' = X^{p-1} u^{p-1}(u + X u')$, whose $X^{p-1}$-coefficient is $u(0)^p = 1$. Hence $[X^{p-1}](f(v) v') = [X^{p-1}] f$, so \eqref{eq:fv-g} yields $[X^{2m}] P^m = [X^{2m}] Q^m$. Since $P^m(X) = (Q_s^m)(-7 X^2)$ and $Q^m(X) = (Q_s^m)(X^2)$, this reads \[ (-7)^m [X^m](Q_s^m) = [X^m](Q_s^m) \quad \text{in } \F_p. \] By Lemma~\ref{lem:neg7-half}, $(-7)^m = -1$ in $\F_p$, so $2 [X^m](Q_s^m) = 0$, and hence $[X^m](Q_s^m) = 0$ in $\F_p$. Next, let $F(X) := X^3 - 35X - 98 \in \F_p[X]$. Its degree-$3$ reflection is $X^3 F(1/X) = Q_s(X)$, so the degree-$3m$ reflection of $F^m$ is $Q_s^m$, whence \begin{equation}\label{eq:Fm-zero} [X^{p-1}](F^m) = [X^{3m - m}](F^m) = [X^m](Q_s^m) = 0 \quad \text{in } \F_p. \end{equation} Now pass to $\F_p[\omega]$ and set $a := -\omega - 3$ and $b := 2\omega - 1$. Using $\omega^2 = \omega - 2$, one checks directly that $a^3 - 35a - 98 = 0$, $3a^2 b - 35b = b^3 x_0$, and $3a b^2 = -b^3(1 + x_0)$, so \[ F(a + b X) = b^3 X(X - 1)(X - x_0) \quad \text{in } \F_p[\omega][X], \] and raising to the $m$-th power yields \begin{equation}\label{eq:F-legendre} F(a + b X)^m = b^{3m} X^m (X - 1)^m (X - x_0)^m. \end{equation} On the left-hand side of \eqref{eq:F-legendre}, write $F(X)^m = \sum_{k=0}^{3m} d_k X^k$. The coefficient of $X^{p-1}$ in $(a + bX)^k$ is $\binom{k}{p-1} a^{k-(p-1)} b^{p-1}$ for $k \ge p - 1$ and $0$ for $k < p - 1$. For $k = p - 1$, $d_{p-1} = 0$ by \eqref{eq:Fm-zero}. For $p - 1 < k \le 3m$, we have $p \le k \le \frac{3}{2}(p - 1) < 2p - 1$, so the base-$p$ remainder $k \bmod p = k - p < p - 1$, whence $p \mid \binom{k}{p-1}$ by Lucas's theorem. Thus $[X^{p-1}](F(a + bX)^m) = 0$. On the right-hand side of \eqref{eq:F-legendre}, extracting $[X^{2m}]$ from $X^m(X-1)^m(X-x_0)^m$ gives \begin{align*} [X^{2m}]\bigl(X^m(X-1)^m(X-x_0)^m\bigr) &= \sum_{k=0}^{m} \bigl([X^k](X-1)^m\bigr)\bigl([X^{m-k}](X-x_0)^m\bigr) \\ &= \sum_{k=0}^{m} \binom{m}{k}(-1)^{m-k} \binom{m}{m-k}(-x_0)^k = (-1)^m \sum_{k=0}^{m} \binom{m}{k}^2 x_0^k. \end{align*} For every $0 \le k \le m$, we have $k! \binom{m+k}{m} = \prod_{j=0}^{k-1} (m + 1 + j)$ and $k! \binom{m}{k} = \prod_{j=0}^{k-1} (m - j)$. Since $(m + 1 + j) + (m - j) = 2m + 1 = p \equiv 0 \pmod p$ and $p \nmid k!$, we obtain $(-1)^k \binom{m+k}{k} \equiv \binom{m}{k} \pmod p$, and therefore \[ \sum_{k=0}^{m} \binom{m}{k}^2 x_0^k = \sum_{k=0}^{m} (-1)^k \binom{m}{k}\binom{m+k}{k} x_0^k = L_m(x_0) \quad \text{in } \F_p[\omega]. \] Equating $[X^{p-1}]$ on both sides of \eqref{eq:F-legendre} yields $b^{3m} (-1)^m L_m(x_0) = 0$ in $\F_p[\omega]$. Since $b^2 = -7$ and $p \neq 7$, $b$ is a unit in $\F_p[\omega]$, so $L_m(x_0) = 0$ in $\F_p[\omega]$, i.e., $p \mid L_m(x_0)$ in $\Z[\omega]$. \end{proof} \section{Clausen's Polynomial Identity and Block Supercongruences}\label{sec:clausen} We now recall Clausen's polynomial identity~\cite{Clausen1828} for $L_n(X)^2$ in $\Z[X]$, give its short self-contained ODE proof, and deduce the harmonic-difference cancellation needed for both Conjecture~4 and Conjecture~3. \begin{proposition}[Clausen's polynomial identity in {$\Z[X]$}]\label{prop:clausen} For every integer $n \ge 0$, \begin{equation}\label{eq:clausen-poly} L_n(X)^2 = \sum_{k=0}^{n} \binom{n+k}{2k} \binom{2k}{k}^2 (X^2 - X)^k \quad \text{in } \Z[X]. \end{equation} \end{proposition} \begin{proof} Let $y := L_n(X) \in \Z[X]$ and $w := y^2$. From the explicit formula \eqref{eq:def-Ln}, one verifies directly that $y$ satisfies the shifted Legendre second-order differential equation \begin{equation}\label{eq:Ln-ode} (X^2 - X) y'' + (2X - 1) y' = n(n+1) y, \end{equation} and the reflection symmetry $L_n(1 - X) = (-1)^n L_n(X)$. Thus $w(1 - X) = w(X)$, so by induction on degree there is a unique polynomial $G(Z) = \sum_{k=0}^{n} g_k Z^k \in \Z[Z]$ such that $w(X) = G(X^2 - X)$. Set $Z := X^2 - X$, $Z' = 2X - 1$, and $c := n(n+1)$, so $(Z')^2 = 1 + 4Z$ and $Z'' = 2$. From $w' = 2 y y'$ and $w'' = 2(y')^2 + 2 y y''$ together with \eqref{eq:Ln-ode}, we obtain $Z w'' + Z' w' - 2 c w = 2 Z (y')^2$. Differentiating both sides and using $Z y'' = c y - Z' y'$ yields \begin{align*} Z w''' + 2 Z' w'' + (2 - 2c) w' &= 2 Z' (y')^2 + 4 Z y' y'' = 2 Z'(y')^2 + 4 y'\bigl(c y - Z' y'\bigr) \\ &= 2 c w' - 2 Z'(y')^2. \end{align*} Multiplying by $Z$ and substituting $2 Z(y')^2 = Z w'' + Z' w' - 2 c w$ gives \[ Z^2 w''' + 3 Z Z' w'' + \bigl(2Z + (Z')^2 - 4c Z\bigr) w' - 2c Z' w = 0. \] Substituting $w = G(Z)$, $w' = Z' G'(Z)$, $w'' = (1+4Z) G''(Z) + 2 G'(Z)$, $w''' = Z'\bigl((1+4Z)G'''(Z) + 6 G''(Z)\bigr)$, and $(Z')^2 = 1 + 4Z$ factors out $Z' = 2X - 1$: \[ Z'\Bigl(Z^2(1 + 4Z) G'''(Z) + 3Z(1 + 6Z) G''(Z) + \bigl(1 + (12 - 4c)Z\bigr) G'(Z) - 2c\,G(Z)\Bigr) = 0. \] Since $\Z[X]$ is an integral domain and $Z \mapsto X^2 - X$ is injective on $\Z[Z]$, the polynomial in parentheses vanishes identically in $\Z[Z]$. Extracting the coefficient of $Z^k$ ($k \ge 0$) yields the two-term recurrence \[ (k + 1)^3 g_{k+1} = 2(2k + 1)\bigl(n(n+1) - k(k+1)\bigr) g_k = 2(2k + 1)(n - k)(n + k + 1) g_k. \] Since $g_0 = G(0) = w(0) = L_n(0)^2 = 1$, and $h_k := \binom{n+k}{2k}\binom{2k}{k}^2$ satisfies $h_0 = 1$ and the identical recurrence \[ (k + 1)^3 h_{k+1} = 2(2k + 1)(n - k)(n + k + 1) h_k, \] induction on $k$ gives $g_k = h_k$ for all $k \ge 0$. \end{proof} \begin{lemma}[Clausen term product identity]\label{lem:clausen-prod} For all integers $0 \le k \le n$, \begin{equation}\label{eq:clausen-prod} \Biggl(\prod_{j=0}^{k-1} (2j + 1)^2\Biggr) \binom{n+k}{2k}\binom{2k}{k}^2 (-16)^k = \binom{2k}{k}^3 \prod_{j=0}^{k-1} \Bigl((2j + 1)^2 - (2n + 1)^2\Bigr). \end{equation} \end{lemma} \begin{proof} We induct on $k$. For $k = 0$ both sides equal $1$. For the inductive step $k \to k + 1$ ($k + 1 \le n$), use the identities \[ (2k+2)(2k+1)\binom{n+k+1}{2k+2} = (n+k+1)(n-k)\binom{n+k}{2k}, \qquad (k+1)\binom{2k+2}{k+1} = 2(2k+1)\binom{2k}{k}, \] together with $(2k+1)^2 - (2n+1)^2 = -4(n - k)(n + k + 1)$. Multiplying the ratio of consecutive terms on both sides of \eqref{eq:clausen-prod} by $(k+1)^3$ yields equality. \end{proof} Evaluating Proposition~\ref{prop:clausen} at $x_0 \in \Z[\omega]$, where $x_0^2 - x_0 = -16$ by \eqref{eq:x0-identities}, immediately produces our master link between $L_n(x_0)^2$ and the binomial cubes $\binom{2k}{k}^3$: \begin{equation}\label{eq:clausen-at-x0} L_n(x_0)^2 = \sum_{k=0}^{n} \binom{n+k}{2k} \binom{2k}{k}^2 (-16)^k \in \Z \subset \Z[\omega]. \end{equation} Notice that the right-hand side of \eqref{eq:clausen-at-x0} is a rational integer. Thus any congruence $L_n(x_0)^2 \equiv c \pmod{p^r \Z[\omega]}$ with $c \in \Z$ automatically descends to a congruence in $\Z / p^r \Z$ by taking the $\Z$-coordinate (the real part in $\Z[\omega] = \Z \oplus \Z\omega$). \begin{corollary}[Base supercongruence, cf.~\cite{Sun2013JNT}]\label{cor:dvd-a-half} For every prime $p \in \mathcal{P}_{-7}$, \[ p^2 \;\Big|\; a\!\left(\frac{p - 1}{2}\right). \] \end{corollary} \begin{proof} Set $m := (p - 1)/2$, so $2m + 1 = p$. By Proposition~\ref{prop:supersing}, $p \mid L_m(x_0)$ in $\Z[\omega]$, so $p^2 \mid L_m(x_0)^2$ in $\Z[\omega]$ and hence $L_m(x_0)^2 \equiv 0 \pmod{p^2}$ in $\Z$. For every $0 \le k \le m$ and $0 \le j < k$, we have $1 \le 2j + 1 \le 2m - 1 < p$, so $p \nmid \prod_{j=0}^{k-1} (2j+1)^2$. Reducing \eqref{eq:clausen-prod} at $n = m$ modulo~$p^2$ and cancelling the unit $\prod_{j=0}^{k-1} (2j+1)^2 \in (\Z/p^2\Z)^\times$ yields \[ \binom{m+k}{2k}\binom{2k}{k}^2 (-16)^k \equiv \binom{2k}{k}^3 \pmod{p^2} \qquad (0 \le k \le m). \] Summing over $0 \le k \le m$ and applying \eqref{eq:clausen-at-x0} gives $a(m) \equiv L_m(x_0)^2 \equiv 0 \pmod{p^2}$. \end{proof} We next record the general Schur congruence for shifted Legendre polynomials (see Wahab~\cite{Wahab1952}), which plays a central role in both Proposition~\ref{prop:block-dvd} and Theorem~\ref{thm:universal}. \begin{lemma}[Schur congruence for $L_{qp + r}$]\label{lem:schur} Let $p$ be an odd prime, and let $q, r \ge 0$ be integers with $r < p$. Then \begin{equation}\label{eq:schur} L_{qp + r}(X) \equiv L_q(X^p)\, L_r(X) \pmod{p\,\Z[X]}. \end{equation} In particular, for any commutative ring $R$ and $x \in R$, if $p \mid L_m(x)$ in $R$ (where $m = (p-1)/2$), then $p \mid L_{qp + m}(x)$ in $R$ for every integer $q \ge 0$. \end{lemma} \begin{proof} Write any integer $0 \le k \le qp + r$ as $k = p a + b$ with $0 \le b < p$. Since $\deg L_r \le r < p$, the coefficient of $X^{pa+b}$ in $L_q(X^p) L_r(X)$ equals $([X^a] L_q)([X^b] L_r)$. Comparing coefficients of $X^{pa+b}$ in \eqref{eq:schur}, we must verify that \[ (-1)^{pa+b}\binom{qp+r}{pa+b}\binom{qp+r+pa+b}{pa+b} \equiv (-1)^{a+b}\binom{q}{a}\binom{q+a}{a}\binom{r}{b}\binom{r+b}{b} \pmod p. \] Since $p$ is odd, $(-1)^{pa+b} = (-1)^{a+b}$. By Lucas's theorem, $\binom{qp+r}{pa+b} \equiv \binom{q}{a}\binom{r}{b} \pmod p$, and using the identity $\binom{n}{k}\binom{n+k}{k} = \binom{n+k}{2k}\binom{2k}{k}$ or applying Lucas's theorem directly to $\binom{qp+r+pa+b}{pa+b}$: \begin{itemize} \item If $b > r$, then $\binom{r}{b} = 0$, so both sides vanish modulo~$p$ (as $\binom{qp+r}{pa+b} \equiv \binom{q}{a}\binom{r}{b} = 0$). \item If $b \le r$ and $r + b < p$, then $(q + a)p + (r + b)$ has base-$p$ remainder $r + b$, so Lucas's theorem gives $\binom{(q+a)p + (r+b)}{ap + b} \equiv \binom{q+a}{a}\binom{r+b}{b} \pmod p$. \item If $b \le r$ and $r + b \ge p$, then $(q + a)p + (r + b) = (q + a + 1)p + (r + b - p)$ with $0 \le r + b - p < b$ (since $r < p$), so Lucas's theorem gives $\binom{(q+a)p+(r+b)}{ap+b} \equiv \binom{q+a+1}{a}\binom{r+b-p}{b} = 0 \pmod p$, while $\binom{r+b}{b}$ is also divisible by~$p$ (as $b < p \le r + b < 2p$, so $(r+b) \bmod p = r+b-p < b$). \end{itemize} In all three cases the coefficients agree modulo~$p$, proving \eqref{eq:schur}. Evaluating \eqref{eq:schur} at $x \in R$ with $r = m$ gives $L_{qp+m}(x) \equiv L_q(x^p) L_m(x) \equiv 0 \pmod{pR}$. \end{proof} We now establish the modulo-$p^2$ block expansion of $\binom{2(pq+r)}{pq+r}^3$, the vanishing of the harmonic-difference sum, and the resulting uniform block divisibility. For $t \ge 0$ and a prime $p$ with $t < p$, define the truncated harmonic sum \[ H_t := \sum_{j=1}^{t} j^{-1} \in \Z/p\Z. \] \begin{lemma}[Binomial block expansion modulo $p^2$]\label{lem:block-exp} Let $p$ be an odd prime and $m := (p - 1)/2$. \begin{enumerate} \item[\textup{(a)}] For all integers $q \ge 0$ and $0 \le r \le m$, \begin{equation}\label{eq:block-cube-mod-p2} \binom{2(pq+r)}{pq+r}^3 \equiv \binom{2q}{q}^3 \binom{2r}{r}^3 \bigl(1 + 6 p q (H_{2r} - H_r)\bigr) \pmod{p^2}. \end{equation} \item[\textup{(b)}] For all integers $q \ge 0$ and $m < r < p$, we have $p \mid \binom{2(pq+r)}{pq+r}$, hence $p^3 \mid \binom{2(pq+r)}{pq+r}^3$. \end{enumerate} \end{lemma} \begin{proof} For (b), write $2(pq + r) = (2q + 1)p + (2r - p)$ with $0 \le 2r - p < r < p$ (since $r > (p-1)/2$ implies $2r \ge p$). By Lucas's theorem, $\binom{2(pq+r)}{pq+r} \equiv \binom{2q+1}{q}\binom{2r-p}{r} = 0 \pmod p$. For (a), let $0 \le r \le m$ (so $2r < p$). Writing $(2pq + 2r)! = (2pq)! \prod_{j=1}^{2r} (2pq + j)$ and $(pq + r)! = (pq)! \prod_{j=1}^{r} (pq + j)$ gives the exact identity \[ \binom{2(pq+r)}{pq+r} \Biggl(\prod_{j=1}^{r} (pq + j)\Biggr)^2 = \binom{2pq}{pq} \prod_{j=1}^{2r} (2pq + j), \] in which every factor $pq + j$ and $2pq + j$ is prime to~$p$ (as $1 \le j \le 2r < p$). For $n < p$ and any integer $c$, expanding the product gives $\prod_{j=1}^{n} (c p + j) \equiv n!\,(1 + c p H_n) \pmod{p^2}$. Combining these with the classical congruence $\binom{2pq}{pq} \equiv \binom{2q}{q} \pmod{p^2}$ (Babbage's congruence $\binom{ap}{bp} \equiv \binom{a}{b} \pmod{p^2}$, proved elementarily in \texttt{choose\_mul\_mod\_p2}), we obtain \[ \binom{2(pq+r)}{pq+r} \equiv \binom{2q}{q}\binom{2r}{r}\bigl(1 + 2 p q (H_{2r} - H_r)\bigr) \pmod{p^2}. \] Cubing both sides modulo~$p^2$ gives \eqref{eq:block-cube-mod-p2}. \end{proof} \begin{proposition}[Harmonic-difference vanishing and block divisibility]\label{prop:block-dvd} Let $p \in \mathcal{P}_{-7}$ with $p \ge 5$, and set $m := (p - 1)/2$. Then: \begin{enumerate} \item[\textup{(a)}] $\displaystyle \sum_{r=0}^{m} \binom{2r}{r}^3 (H_{2r} - H_r) \equiv 0 \pmod p$. \item[\textup{(b)}] For every integer $q \ge 0$, \begin{equation}\label{eq:block-dvd} p^2 \;\Big|\; \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3. \end{equation} \end{enumerate} \end{proposition} \begin{proof} Part~(b) follows immediately from part~(a), Lemma~\ref{lem:block-exp}(a), and Corollary~\ref{cor:dvd-a-half}: \[ \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3 \equiv \binom{2q}{q}^3 \Biggl(a(m) + 6 p q \sum_{r=0}^{m} \binom{2r}{r}^3 (H_{2r} - H_r)\Biggr) \equiv 0 \pmod{p^2}. \] To prove part~(a), apply \eqref{eq:clausen-at-x0} at $n = p + m$ (so $2n + 1 = 3p$). By Proposition~\ref{prop:supersing} and Lemma~\ref{lem:schur}, $p \mid L_{p+m}(x_0)$ in $\Z[\omega]$, so $L_{p+m}(x_0)^2 \equiv 0 \pmod{p^2}$ in $\Z$. Writing $T_k := \binom{p+m+k}{2k}\binom{2k}{k}^2 (-16)^k$, we split $\sum_{k=0}^{p+m} T_k \equiv 0 \pmod{p^2}$ into three ranges: \begin{itemize} \item \emph{Range $0 \le k \le m$:} For every $0 \le j < k$, $p \nmid (2j+1)$, so \eqref{eq:clausen-prod} with $2n+1 = 3p$ reduces modulo~$p^2$ to $T_k \equiv \binom{2k}{k}^3 \pmod{p^2}$. Summing over $0 \le k \le m$ gives $a(m) \equiv 0 \pmod{p^2}$ by Corollary~\ref{cor:dvd-a-half}. \item \emph{Range $m < k < p$:} Exactly one index $j = m$ in $0 \le j < k$ satisfies $2j + 1 = p$. In \eqref{eq:clausen-prod}, the $j = m$ factor on the left is $p^2$ and on the right is $p^2 - 9p^2 = -8p^2$. Cancelling $p^2$ from both sides of \eqref{eq:clausen-prod} in $\Z$ leaves all remaining factors $(2j+1)^2$ coprime to~$p$, so $T_k \equiv -8 \binom{2k}{k}^3 \pmod{p^2}$. By Lemma~\ref{lem:block-exp}(b) (with $q = 0$), $p^3 \mid \binom{2k}{k}^3$, so $T_k \equiv 0 \pmod{p^2}$ term-by-term. \item \emph{Range $k = p + r$ with $0 \le r \le m$:} Again $j = m$ is the unique index in $0 \le j < p + r$ divisible by~$p$ (since $2(p+r-1)+1 \le 3p - 2 < 3p$). Cancelling $p^2$ from the $j = m$ factor on both sides of \eqref{eq:clausen-prod} gives $T_{p+r} \equiv -8 \binom{2(p+r)}{p+r}^3 \pmod{p^2}$. By Lemma~\ref{lem:block-exp}(a) with $q = 1$ (where $\binom{2}{1}^3 = 8$), \[ T_{p+r} \equiv -64 \binom{2r}{r}^3 \bigl(1 + 6 p (H_{2r} - H_r)\bigr) \pmod{p^2}. \] \end{itemize} Summing all three ranges modulo~$p^2$ and applying $a(m) \equiv 0 \pmod{p^2}$ gives \[ 0 \equiv \sum_{k=0}^{p+m} T_k \equiv -64 \cdot 6 p \sum_{r=0}^{m} \binom{2r}{r}^3 (H_{2r} - H_r) \pmod{p^2}. \] Since $p \ge 5$, we have $\gcd(64 \cdot 6, p) = \gcd(384, p) = 1$, so dividing by $-384 p$ gives part~(a). \end{proof} \section{Proof of Conjecture 4}\label{sec:conj4} We can now prove Theorem~\ref{thm:main}(4) in a few lines. \begin{lemma}[Base-$3$ block divisibility]\label{lem:p3-odd} For every integer $t \ge 0$, $9 \mid a(3t + 1)$. \end{lemma} \begin{proof} We induct on $t$. For $t = 0$, $a(1) = 1 + 8 = 9$. For $t \to t + 1$, \[ a(3t + 4) - a(3t + 1) = \binom{6t + 4}{3t + 2}^3 + \binom{6t + 6}{3t + 3}^3 + \binom{6t + 8}{3t + 4}^3. \] The first term has $3 \mid \binom{6t+4}{3t+2}$ by Lemma~\ref{lem:block-exp}(b) ($p = 3, r = 2$), so its cube is divisible by $27$, hence by~$9$. For the remaining two terms, set $C := \binom{6t+6}{3t+3}$. Since $(3t+4)\binom{6t+8}{3t+4} = 2(6t+7) C$, we have in $\Z/9\Z$: \[ (3t+4)^3 \Bigl(C^3 + \binom{6t+8}{3t+4}^3\Bigr) = C^3 \Bigl((3t+4)^3 + 8(6t+7)^3\Bigr). \] Direct expansion gives $(3t+4)^3 + 8(6t+7)^3 = 1755 t^3 + 6156 t^2 + 7200 t + 2808 = 9(195 t^3 + 684 t^2 + 800 t + 312) \equiv 0 \pmod 9$. Since $3 \nmid (3t + 4)$, $(3t+4)^3$ is a unit modulo~$9$, so $9 \mid \bigl(C^3 + \binom{6t+8}{3t+4}^3\bigr)$, completing the induction. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:main}\textup{(4)}] Let $S \subset \mathcal{P}_{-7}$ be a finite set and $n := \prod_{p \in S} p$. If $S = \emptyset$, then $n = 1$ and $1^2 \mid a(0) = 1$. In general, since every prime $p \in S$ is odd, $n$ is odd; for each $p \in S$, write $n = p \cdot d$ with $d$ odd, so $(n - 1)/2 = p t + m$ where $t := (d - 1)/2 \ge 0$ and $m := (p - 1)/2$. We show $p^2 \mid a(pt + m)$: \begin{itemize} \item If $p = 3$, this is Lemma~\ref{lem:p3-odd}. \item If $p \ge 5$, partition $\{0, 1, \dots, pt + m\}$ into the $t$ full blocks $\{pq + r : 0 \le r < p\}$ ($0 \le q < t$) and the final half-block $\{pt + r : 0 \le r \le m\}$. Each full block splits into a lower half-block $0 \le r \le m$ (whose sum is divisible by $p^2$ by Proposition~\ref{prop:block-dvd}(b)) and an upper half-block $m < r < p$ (each term of which is divisible by $p^3$ by Lemma~\ref{lem:block-exp}(b)). The final half-block sum is likewise divisible by $p^2$ by Proposition~\ref{prop:block-dvd}(b). Hence $p^2 \mid a(pt + m)$. \end{itemize} Since the primes $p \in S$ are distinct, their squares $p^2$ are pairwise coprime, so $n^2 = \prod_{p \in S} p^2$ divides $a((n - 1)/2)$. \end{proof} \section{Zero-Division Jacobi Quartic Endomorphisms and Proof of Theorem~\ref{thm:universal}}\label{sec:jacobi} This section establishes Theorem~\ref{thm:universal} over an arbitrary torsion-free commutative ring $R$ and any odd prime $p$. Fix $x \in R$, set $z := 1 - 2x \in R$, and abbreviate $L_n := L_n(x) \in R$ for $n \ge 0$. Since $R$ is torsion-free, the natural map $\iota_{\Q} : R \to R_{\Q} := R \otimes_{\Z} \Q$ is an injective ring homomorphism. \subsection{Formal power series on the Jacobi quartic} Define the quartic polynomial $Q(u) \in R[u]$ and the even generating series $g(u) \in R[[u]]$ by \begin{equation}\label{eq:def-Q-g} Q(u) := 1 - 2z u^2 + u^4, \qquad g(u) := \sum_{n=0}^{\infty} L_n u^{2n}. \end{equation} From the classical three-term recurrence for shifted Legendre polynomials, \begin{equation}\label{eq:Ln-3term} (n + 2) L_{n+2}(X) = (2n + 3)(1 - 2X) L_{n+1}(X) - (n + 1) L_n(X) \qquad (n \ge 0), \end{equation} evaluating at $x$ gives $(n+2) L_{n+2} = (2n+3) z L_{n+1} - (n+1) L_n$, together with $L_0 = 1$ and $L_1 = z$. \begin{lemma}[Formal curve equation]\label{lem:Q-g-sq} In $R[[u]]$, $Q(u) g'(u) = (2z u - 2 u^3) g(u)$ and $Q(u) g(u)^2 = 1$. Consequently, $g(u)$ is a unit in $R[[u]]$, and its inverse $y(u) := g(u)^{-1} \in R[[u]]$ satisfies $y(0) = 1$, $y(u)^2 = Q(u)$, and $g(u) y(u) = 1$. \end{lemma} \begin{proof} Comparing coefficients of $u^k$ in $Q(u) g'(u) = (2z u - 2 u^3) g(u)$: for even $k$, both sides vanish because $g$ is even and $g'$ is odd; for $k = 1$, both sides equal $2 L_1 = 2z L_0$; and for $k = 2n + 3$ ($n \ge 0$), the coefficient of $u^{2n+3}$ is $(2n+4) L_{n+2} - 2z(2n+2) L_{n+1} + 2n L_n$ on the left and $2z L_{n+1} - 2 L_n$ on the right, whose difference is $2\bigl((n+2) L_{n+2} - (2n+3) z L_{n+1} + (n+1) L_n\bigr) = 0$ by \eqref{eq:Ln-3term}. Differentiating $Q g^2$ then gives \[ (Q g^2)' = Q' g^2 + 2 Q g g' = (-4z u + 4 u^3) g^2 + 2 g (2z u - 2 u^3) g = 0. \] Since $R$ is torsion-free, a power series in $R[[u]]$ with zero derivative is constant, and $(Q g^2)(0) = 1 \cdot 1^2 = 1$, whence $Q g^2 = 1$. Because $g(0) = L_0 = 1$, $g$ is a unit in $R[[u]]$, and $y := g^{-1}$ satisfies $y^2 = Q g^2 y^2 = Q$. \end{proof} Over $R_{\Q} = R \otimes_{\Z} \Q$, define the \emph{formal logarithm} \begin{equation}\label{eq:def-log} f(u) := \sum_{n=0}^{\infty} \frac{L_n}{2n + 1} u^{2n + 1} \in R_{\Q}[[u]], \end{equation} which satisfies $f(0) = 0$, $[u^1] f = 1$, and $f'(u) = \iota_{\Q}(g(u))$. \begin{lemma}[Formal logarithm characterization and injectivity]\label{lem:log} \begin{enumerate} \item[\textup{(a)}] Suppose $u_*, y_* \in R[[u]]$ and $n \in \Z$ satisfy $u_*(0) = 0$, $y_*(0) = 1$, $y_*^2 = Q(u_*)$, and $u_*' = n\, g\, y_*$. Then in $R_{\Q}[[u]]$, \[ f\bigl(\iota_{\Q}(u_*)\bigr) = n\, f. \] \item[\textup{(b)}] If $a, b \in R_{\Q}[[u]]$ satisfy $a(0) = b(0) = 0$ and $f(a) = f(b)$, then $a = b$. \end{enumerate} \end{lemma} \begin{proof} For (a), substituting $u_*$ into $Q(u) g(u)^2 = 1$ gives $y_*^2\, g(u_*)^2 = 1$, hence $\bigl(\iota_{\Q}(y_*) g(\iota_{\Q}(u_*)) + 1\bigr)\bigl(\iota_{\Q}(y_*) g(\iota_{\Q}(u_*)) - 1\bigr) = 0$ in $R_{\Q}[[u]]$. Since $\iota_{\Q}(y_*)(0)\, g(\iota_{\Q}(u_*))(0) + 1 = 2$ is a unit in $R_{\Q}$, the first factor is a unit in $R_{\Q}[[u]]$, yielding $\iota_{\Q}(y_*) g(\iota_{\Q}(u_*)) = 1$. By the chain rule, \[ \bigl(f(\iota_{\Q}(u_*))\bigr)' = f'(\iota_{\Q}(u_*))\,\iota_{\Q}(u_*)' = g(\iota_{\Q}(u_*))\cdot n\,\iota_{\Q}(g)\,\iota_{\Q}(y_*) = n\,\iota_{\Q}(g) = (n f)'. \] Since both sides have zero constant term and $R_{\Q}$ is torsion-free, $f(\iota_{\Q}(u_*)) = n f$. For (b), induct on $k \ge 0$ to prove $[u^k] a = [u^k] b$. For $k = 0$, both vanish. For $k + 1$, extracting $[u^{k+1}]$ from $f(a) = \sum_{d \ge 1} ([u^d] f) a^d$ gives $[u^{k+1}] a + \sum_{d=2}^{k+1} ([u^d] f)[u^{k+1}](a^d)$, and similarly for $b$. For every $d \ge 2$, $[u^{k+1}](a^d)$ depends only on $[u^j] a$ for $1 \le j \le k$ (as $a(0) = 0$), which agree with $[u^j] b$ by the induction hypothesis; cancelling the tail leaves $[u^{k+1}] a = [u^{k+1}] b$. \end{proof} \subsection{Universal addition law and zero-division multiplication polynomials} The Jacobi quartic $y^2 = 1 - 2z u^2 + u^4$ admits an explicit group law whose denominator $1 - u_1^2 u_2^2$ is a unit in $R[[u]]$. \begin{lemma}[Jacobi quartic power-series addition law]\label{lem:jacobi-add} Suppose $(u_1, y_1)$ and $(u_2, y_2)$ in $R[[u]]^2$ satisfy $u_i(0) = 0$, $y_i(0) = 1$, $y_i^2 = Q(u_i)$, and $u_i' = n_i g y_i$ for $n_1, n_2 \in \Z$. Set $D := 1 - u_1^2 u_2^2$, $N := u_1 y_2 + u_2 y_1$, and \[ Y := (1 + u_1^2 u_2^2)(y_1 y_2 - 2z u_1 u_2) + 2 u_1 u_2 (u_1^2 + u_2^2). \] Then $D$ is a unit in $R[[u]]$, and the pair $u_3 := N D^{-1}$, $y_3 := Y D^{-2}$ satisfies $u_3(0) = 0$, $y_3(0) = 1$, $y_3^2 = Q(u_3)$, and $u_3' = (n_1 + n_2) g y_3$. \end{lemma} \begin{proof} Since $u_1(0) = u_2(0) = 0$, we have $D(0) = 1$, so $D \in R[[u]]^\times$, $u_3(0) = 0$, and $y_3(0) = 1$. Expanding modulo the two relations $y_1^2 = 1 - 2z u_1^2 + u_1^4$ and $y_2^2 = 1 - 2z u_2^2 + u_2^4$ verifies the pure polynomial identity \begin{equation}\label{eq:jacobi-curve-id} Y^2 = D^4 - 2z N^2 D^2 + N^4, \end{equation} which after multiplying by $D^{-4}$ reads $y_3^2 = Q(u_3)$. For the derivative, differentiating $y_i^2 = 1 - 2z u_i^2 + u_i^4$ gives $2 y_i y_i' = 4 u_i(u_i^2 - z) u_i' = 4 n_i g u_i (u_i^2 - z) y_i$; since $y_i$ is a unit in $R[[u]]$ and $R$ is torsion-free, cancelling $2 y_i$ yields $y_i' = 2 n_i g u_i (u_i^2 - z)$. Substituting $u_i'$ and $y_i'$ into $N' D - N D'$ and reducing modulo $y_i^2 = Q(u_i)$ gives the exact identity \begin{equation}\label{eq:jacobi-deriv-id} N' D - N D' = (n_1 + n_2) g Y. \end{equation} Multiplying by $D^{-2}$ gives $u_3' = (N D^{-1})' = (N' D - N D') D^{-2} = (n_1 + n_2) g y_3$. \end{proof} We now define polynomial triples $(A_n, B_n, C_n) \in R[u]^3$ for all $n \ge 1$ by a Montgomery double-and-add recursion that requires \emph{no polynomial division whatsoever}: \begin{definition}[Zero-division Jacobi quartic multiplication polynomials]\label{def:jacobiTriple} Define $(A_n, B_n, C_n) \in R[u]^3$ recursively for $n \ge 1$ as follows: \begin{itemize} \item \emph{Base case:} $(A_1, B_1, C_1) := (u, 1, 1)$. \item \emph{Doubling $n = 2m$ ($m \ge 1$ odd):} \begin{align*} A_{2m} &:= 2 A_m B_m C_m, \qquad B_{2m} := B_m^4 - A_m^4, \\ C_{2m} &:= (B_m^4 + A_m^4)\bigl(Q C_m^2 - 2z A_m^2 B_m^2\bigr) + 4 A_m^4 B_m^4. \end{align*} \item \emph{Doubling $n = 2m$ ($m \ge 2$ even):} \begin{align*} A_{2m} &:= 2 A_m B_m C_m, \qquad B_{2m} := B_m^4 - Q^2 A_m^4, \\ C_{2m} &:= (B_m^4 + Q^2 A_m^4)\bigl(C_m^2 - 2z Q A_m^2 B_m^2\bigr) + 4 Q^2 A_m^4 B_m^4. \end{align*} \item \emph{Odd step $n = 2m + 1$ ($m \ge 1$):} Let $\{o, e\} = \{m, m + 1\}$ with $o$ odd and $e$ even, and set \begin{align*} A_{2m+1} &:= A_o B_o C_e + Q A_e B_e C_o, \qquad B_{2m+1} := B_o^2 B_e^2 - Q A_o^2 A_e^2, \\ C_{2m+1} &:= (B_o^2 B_e^2 + Q A_o^2 A_e^2)\bigl(C_o C_e - 2z A_o A_e B_o B_e\bigr) \\ &\qquad + 2 A_o A_e B_o B_e \bigl(A_o^2 B_e^2 + Q A_e^2 B_o^2\bigr). \end{align*} \end{itemize} \end{definition} Why does this recursion achieve zero division? Because $o$ and $e$ are consecutive integers ($|o - e| = 1$), the degrees satisfy $2(o^2 + e^2) = (o + e)^2 + (o - e)^2 = (2m + 1)^2 + 1$, so clearing denominators in the Jacobi quartic addition law for $u_o \oplus u_e$ introduces no extraneous common factor. \begin{proposition}[Fundamental properties of $(A_n, B_n, C_n)$]\label{prop:jacobi-props} For every integer $n \ge 1$: \begin{enumerate} \item[\textup{(1)}] \emph{Constant terms:} $A_n(0) = 0$, $B_n(0) = 1$, and $C_n(0) = 1$. \item[\textup{(2)}] \emph{Parity:} $A_n(-u) = -A_n(u)$, $B_n(-u) = B_n(u)$, and $C_n(-u) = C_n(u)$. \item[\textup{(3)}] \emph{Degree bounds:} \begin{itemize} \item If $n$ is odd: $\deg A_n \le n^2$, $\deg B_n \le n^2 - 1$, $\deg C_n \le 2n^2 - 2$. \item If $n$ is even: $\deg A_n \le n^2 - 3$, $\deg B_n \le n^2$, $\deg C_n \le 2n^2$. \end{itemize} \item[\textup{(4)}] \emph{Power-series multiplication-by-$n$:} Since $B_n(0) = 1$, $B_n$ is a unit in $R[[u]]$. Defining \[ (u_n, y_n) := \begin{cases} (A_n B_n^{-1},\; y\, C_n B_n^{-2}) & \text{if $n$ is odd}, \\ (y\, A_n B_n^{-1},\; C_n B_n^{-2}) & \text{if $n$ is even}, \end{cases} \] we have $u_n(0) = 0$, $y_n(0) = 1$, $y_n^2 = Q(u_n)$, $u_n' = n\, g\, y_n$, and $f(\iota_{\Q}(u_n)) = n f$. \item[\textup{(5)}] \emph{Wronskian identity:} For every odd $n \ge 1$, $A_n' B_n - A_n B_n' = n\, C_n$ in $R[u]$. \end{enumerate} \end{proposition} \begin{proof} Properties (1) and (2) follow immediately by strong induction on $n$ from Definition~\ref{def:jacobiTriple} using $Q(0) = 1$ and $Q(-u) = Q(u)$. For (3), we prove by strong induction on $n$ the bounds $\deg A_n \le n^2$, $\deg B_n \le n^2 - 1$, $\deg C_n \le 2n^2 - 2$ for odd~$n$, and $\deg A_n \le n^2 - 2$, $\deg B_n \le n^2$, $\deg C_n \le 2n^2$ for even~$n$. Crucially, for even~$n$ the odd parity $A_n(-u) = -A_n(u)$ forces the coefficient of the even power $u^{n^2 - 2}$ in $A_n$ to vanish (since $R$ is torsion-free, $2[u^{n^2-2}] A_n = 0 \implies [u^{n^2-2}] A_n = 0$), which tightens $\deg A_n \le n^2 - 2$ to $\deg A_n \le n^2 - 3$. Using $\deg Q \le 4$: \begin{itemize} \item \emph{$n = 2m$ ($m$ odd):} $\deg A_{2m} \le m^2 + (m^2 - 1) + (2m^2 - 2) = 4m^2 - 3 < (2m)^2 - 2$; $\deg B_{2m} \le 4m^2$; $\deg C_{2m} \le 4m^2 + (4 + 2(2m^2 - 2)) = 8m^2$. \item \emph{$n = 2m$ ($m$ even):} $\deg A_{2m} \le (m^2 - 2) + m^2 + 2m^2 = (2m)^2 - 2$; $\deg B_{2m} \le \max(4m^2, 8 + 4(m^2 - 2)) = 4m^2$; $\deg C_{2m} \le 4m^2 + 4m^2 = 8m^2$. \item \emph{$n = 2m + 1$ ($m \ge 1$):} Using $2(o^2 + e^2) = n^2 + 1$ and the parity-tightened bound $\deg A_e \le e^2 - 3$: \begin{align*} \deg(A_o B_o C_e) &\le o^2 + (o^2 - 1) + 2e^2 = n^2, \\ \deg(Q A_e B_e C_o) &\le 4 + (e^2 - 3) + e^2 + (2o^2 - 2) = n^2, \\ \deg(B_o^2 B_e^2) &\le 2(o^2 - 1) + 2e^2 = n^2 - 1, \\ \deg(Q A_o^2 A_e^2) &\le 4 + 2o^2 + 2(e^2 - 3) = n^2 - 1, \end{align*} and for the two summands of $C_{2m+1}$: the first has degree at most $(n^2 - 1) + \max((2o^2 - 2) + 2e^2,\; o^2 + (e^2 - 2) + (o^2 - 1) + e^2) = 2n^2 - 2$, while the second has degree at most $\bigl(o^2 + (e^2 - 3) + (o^2 - 1) + e^2\bigr) + \max\bigl(2o^2 + 2e^2,\; 4 + 2(e^2 - 3) + 2(o^2 - 1)\bigr) = (n^2 - 3) + (n^2 + 1) = 2n^2 - 2$. \end{itemize} For (4), we verify by strong induction on $n$ that $(u_n, y_n)$ equals the output of Lemma~\ref{lem:jacobi-add} applied to $(u_m, y_m) + (u_m, y_m)$ (when $n = 2m$) or $(u_o, y_o) + (u_e, y_e)$ (when $n = 2m + 1$), substituting $y^2 = Q$ whenever even powers of $y$ appear. For $n = 1$, $u_1 = u$ and $y_1 = y$ satisfy $y_1^2 = Q(u)$ and $u_1' = 1 = g y$ by Lemma~\ref{lem:Q-g-sq}. For $n = 2m$ ($m$ odd), $u_m = A_m/B_m$ and $y_m = y C_m/B_m^2$, so Lemma~\ref{lem:jacobi-add} produces \[ \frac{2 u_m y_m}{1 - u_m^4} = \frac{2 y A_m B_m C_m}{B_m^4 - A_m^4} = \frac{y A_{2m}}{B_{2m}} = u_{2m}, \] and clearing $B_m^8$ in $y_3$ with $y^2 = Q$ gives $C_{2m}/B_{2m}^2 = y_{2m}$. The even doubling and odd addition steps are checked identically. Lemma~\ref{lem:log}(a) then gives $f(\iota_{\Q}(u_n)) = n f$. For (5), when $n$ is odd we have $u_n = A_n B_n^{-1}$ and $y_n = y C_n B_n^{-2}$, so $u_n' = (A_n' B_n - A_n B_n') B_n^{-2}$ while $n g y_n = n g y C_n B_n^{-2} = n C_n B_n^{-2}$ by $g y = 1$. Multiplying by $B_n^2$ in $R[[u]]$ yields the polynomial identity $A_n' B_n - A_n B_n' = n C_n$ in $R[u]$. \end{proof} \subsection{Consecutive difference identity and reflection symmetry} For a polynomial $P(u) = \sum_{k=0}^{d} c_k u^k \in R[u]$ of degree at most $d$, denote its degree-$d$ reflection by \[ \rev_d(P)(u) := u^d P(u^{-1}) = \sum_{k=0}^{d} c_{d-k} u^k \in R[u]. \] It satisfies $\rev_{d_1 + d_2}(P_1 P_2) = \rev_{d_1}(P_1)\rev_{d_2}(P_2)$ (whenever $\deg P_i \le d_i$), $\rev_{d+1}(P) = u\,\rev_d(P)$ (whenever $\deg P \le d$), and the elementary derivative-reflection identity \begin{equation}\label{eq:rev-deriv} \rev_{d-1}(P') = d\,\rev_d(P) - u\,\bigl(\rev_d(P)\bigr)' \qquad (d \ge 1,\; \deg P \le d), \end{equation} which follows directly by comparing coefficients of $u^k$: for $1 \le k \le d - 1$, $(d - k) c_{d - k} = d c_{d-k} - k c_{d-k}$, while at $k = 0$ both sides give $d c_d$, and at $k = d$ both sides vanish. \begin{lemma}[Consecutive difference identity]\label{lem:consec-diff} For every integer $m \ge 1$, let $\{o, e\} = \{m, m + 1\}$ with $o$ odd and $e$ even. Then in $R[u]$, \begin{equation}\label{eq:consec-diff} A_o B_o C_e - Q A_e B_e C_o = (-1)^m u\, B_{2m+1}. \end{equation} \end{lemma} \begin{proof} Apply Lemma~\ref{lem:jacobi-add} to $(u_o, y_o)$ and $(-u_e, y_e)$, which satisfy $(-u_e)' = -e g y_e$ and $y_e^2 = Q(-u_e)$ since $Q$ is even. The resulting series $u_{\mathrm{diff}} := (u_o y_e - u_e y_o)/(1 - u_o^2 u_e^2)$ satisfies $u_{\mathrm{diff}}(0) = 0$ and, by Lemma~\ref{lem:log}(a), \[ f\bigl(\iota_{\Q}(u_{\mathrm{diff}})\bigr) = (o - e) f = (-1)^m f = f\bigl((-1)^m u\bigr) \] because $f$ is an odd series and $o - e = -1$ if $m$ is odd, $+1$ if $m$ is even. By Lemma~\ref{lem:log}(b) and injectivity of $\iota_{\Q}$, we obtain $u_{\mathrm{diff}} = (-1)^m u$ in $R[[u]]$. Multiplying $u_o y_e - u_e y_o = (-1)^m u (1 - u_o^2 u_e^2)$ by $B_o^2 B_e^2$ and substituting $u_o = A_o/B_o$, $y_o = y C_o/B_o^2$, $u_e = y A_e/B_e$, $y_e = C_e/B_e^2$, and $y^2 = Q$ yields \eqref{eq:consec-diff}. \end{proof} \begin{proposition}[Reflection symmetry of $(A_n, B_n, C_n)$]\label{prop:reflect} For every integer $n \ge 1$: \begin{itemize} \item If $n$ is odd, let $s_n := (-1)^{(n-1)/2}$; then \begin{equation}\label{eq:ref-odd} \rev_{n^2}(A_n) = s_n B_n, \qquad \rev_{n^2}(B_n) = s_n A_n, \qquad \rev_{2n^2 - 2}(C_n) = C_n. \end{equation} \item If $n$ is even, let $t_n := (-1)^{n/2}$; then \begin{equation}\label{eq:ref-even} \rev_{n^2 - 2}(A_n) = -t_n A_n, \qquad \rev_{n^2}(B_n) = t_n B_n, \qquad \rev_{2n^2}(C_n) = C_n. \end{equation} \end{itemize} \end{proposition} \begin{proof} We proceed by strong induction on $n$, using $\rev_4(Q) = Q$ and the degree bounds of Proposition~\ref{prop:jacobi-props}(3). For $n = 1$, $A_1 = u$, $B_1 = 1$, $C_1 = 1$, $s_1 = 1$, and $\rev_1(u) = 1$, $\rev_1(1) = u$, $\rev_0(1) = 1$. \emph{Even step $n = 2m$:} When $m$ is odd ($t_{2m} = (-1)^m = -1$, $s_m^2 = 1$), applying $\rev$ to Definition~\ref{def:jacobiTriple} gives \begin{align*} \rev_{4m^2 - 2}(A_{2m}) &= 2\,\rev_{m^2}(A_m)\,\rev_{m^2}(B_m)\,\rev_{2m^2-2}(C_m) = 2(s_m B_m)(s_m A_m) C_m = A_{2m} = -t_{2m} A_{2m}, \\ \rev_{4m^2}(B_{2m}) &= \rev_{m^2}(B_m)^4 - \rev_{m^2}(A_m)^4 = s_m^4 A_m^4 - s_m^4 B_m^4 = -B_{2m} = t_{2m} B_{2m}, \end{align*} and similarly $\rev_{8m^2}(C_{2m}) = C_{2m}$ since $s_m^2 = s_m^4 = 1$ and $\rev_4(Q) = Q$. When $m$ is even ($t_{2m} = 1$, $t_m^2 = 1$), the same calculation using $\rev_{m^2 - 2}(A_m) = -t_m A_m$, $\rev_{m^2}(B_m) = t_m B_m$, $\rev_{2m^2}(C_m) = C_m$, and $4m^2 = 2\cdot 4 + 4(m^2 - 2)$ immediately yields \eqref{eq:ref-even}. \emph{Odd step $n = 2m + 1$ ($m \ge 1$):} Let $\{o, e\} = \{m, m+1\}$ with $o$ odd, $e$ even, $s_o^2 = t_e^2 = 1$, and $s_n = (-1)^m$. Recall $2(o^2 + e^2) = n^2 + 1$. \begin{enumerate} \item \emph{Reflection of $A_n$:} Since $\deg A_n \le n^2$, we have $u\,\rev_{n^2}(A_n) = \rev_{n^2 + 1}(A_n)$. Applying $\rev_{n^2+1}$ to $A_n = A_o B_o C_e + Q A_e B_e C_o$ using $n^2 + 1 = o^2 + o^2 + 2e^2 = 4 + (e^2 - 2) + e^2 + (2o^2 - 2)$ gives \[ u\,\rev_{n^2}(A_n) = s_o^2 A_o B_o C_e - t_e^2 Q A_e B_e C_o = A_o B_o C_e - Q A_e B_e C_o = s_n u B_n \] by Lemma~\ref{lem:consec-diff}. Cancelling $u$ in $R[u]$ gives $\rev_{n^2}(A_n) = s_n B_n$. \item \emph{Reflection of $B_n$:} Similarly, since $\deg B_n \le n^2 - 1 \le n^2$, \[ u\,\rev_{n^2}(B_n) = \rev_{n^2+1}\bigl(B_o^2 B_e^2 - Q A_o^2 A_e^2\bigr) = A_o^2 B_e^2 - Q A_e^2 B_o^2. \] From $y_o^2 = Q(u_o)$ and $y_e^2 = Q(u_e)$ (Proposition~\ref{prop:jacobi-props}(4)), clearing $B_o^4$ and $B_e^4$ gives the polynomial curve identities \[ Q C_o^2 = B_o^4 - 2z A_o^2 B_o^2 + A_o^4, \qquad C_e^2 = B_e^4 - 2z Q A_e^2 B_e^2 + Q^2 A_e^4. \] Consequently, \begin{align*} B_n \bigl(u\,\rev_{n^2}(B_n)\bigr) &= (B_o^2 B_e^2 - Q A_o^2 A_e^2)(A_o^2 B_e^2 - Q A_e^2 B_o^2) \\ &= A_o^2 B_o^2 C_e^2 - Q^2 A_e^2 B_e^2 C_o^2 \\ &= (A_o B_o C_e + Q A_e B_e C_o)(A_o B_o C_e - Q A_e B_e C_o) \\ &= A_n \cdot (s_n u B_n) = B_n \bigl(u\, s_n A_n\bigr) \end{align*} by Lemma~\ref{lem:consec-diff}. Since $B_n$ is a unit in $R[[u]]$, cancelling $B_n$ in $R[[u]]$ and then cancelling $u$ in $R[u]$ yields $\rev_{n^2}(B_n) = s_n A_n$. \item \emph{Reflection of $C_n$:} By Proposition~\ref{prop:jacobi-props}(5), $n C_n = A_n' B_n - A_n B_n'$ has degree at most $2n^2 - 2$. Applying $\rev_{2n^2 - 1}$ and the reflection-derivative identity \eqref{eq:rev-deriv} with $d = n^2$ gives \begin{align*} u\, n\, \rev_{2n^2 - 2}(C_n) &= \rev_{2n^2 - 1}(A_n' B_n - A_n B_n') \\ &= \rev_{n^2 - 1}(A_n')\,\rev_{n^2}(B_n) - \rev_{n^2}(A_n)\,\rev_{n^2 - 1}(B_n') \\ &= \bigl(n^2 s_n B_n - u s_n B_n'\bigr)(s_n A_n) - (s_n B_n)\bigl(n^2 s_n A_n - u s_n A_n'\bigr) \\ &= s_n^2 u (A_n' B_n - A_n B_n') = u\, n\, C_n. \end{align*} Cancelling $u$ in $R[u]$ and cancelling the positive integer $n$ (using that $R$ is torsion-free) yields $\rev_{2n^2 - 2}(C_n) = C_n$. \qedhere \end{enumerate} \end{proof} \subsection{Five-step proof of Theorem~\ref{thm:universal}} We now combine Propositions~\ref{prop:jacobi-props} and~\ref{prop:reflect} with Schur's congruence (Lemma~\ref{lem:schur}) to prove Theorem~\ref{thm:universal}. \begin{proof}[Proof of Theorem~\ref{thm:universal}] Let $p$ be an odd prime, set $m := (p - 1)/2$ and $m_2 := (p^2 - 1)/2$ (so $2m + 1 = p$ and $2m_2 + 1 = p^2$), and let $h := u_p = A_p B_p^{-1} \in R[[u]]$. Write $h_j := [u^j] h \in R$. Since $A_p(-u) = -A_p(u)$ and $B_p(-u) = B_p(u)$, the series $h$ is odd, so $h_0 = 0$ and $h_{2k} = 0$ for every $k \ge 0$. Note also that if $p \mid h_j$ for all $j < N$, then for every $d \ge 2$ we have $p^d \mid [u^N](h^d)$ in $R$: indeed, writing $[u^N](h^d) = \sum_{j_1 + \dots + j_d = N} h_{j_1} \cdots h_{j_d}$, any nonzero summand has all $j_i \ge 1$ (since $h_0 = 0$), hence all $j_i \le N - (d - 1) < N$, so each factor is divisible by~$p$. \emph{Step 1: $p \mid h_j$ whenever $p \nmid j$.} By Proposition~\ref{prop:jacobi-props}(4)--(5), \[ h' = (A_p B_p^{-1})' = (A_p' B_p - A_p B_p') B_p^{-2} = p\, C_p B_p^{-2} \in p R[[u]]. \] Extracting $[u^{j-1}]$ gives $p \mid j h_j$ in $R$. If $p \nmid j$, choosing integers $r, s$ with $rj + sp = 1$ gives $h_j = r(j h_j) + s(p h_j) \in p R$. \emph{Step 2: $p \mid h_N$ for all $0 \le N < p^2$.} We induct strongly on $N < p^2$. If $N$ is even then $h_N = 0$, and if $p \nmid N$ then $p \mid h_N$ by Step~1. Thus assume $N < p^2$ is an odd multiple of~$p$, so $N = (2q + 1)p$ with $0 \le q < m$ and $(N - 1)/2 = q p + m$. Extracting $[u^N]$ from the formal logarithm identity $f(\iota_{\Q}(h)) = p f$ (Proposition~\ref{prop:jacobi-props}(4)) gives in $R_{\Q}$: \begin{equation}\label{eq:log-N} \iota_{\Q}(h_N) + \sum_{\substack{3 \le d \le N \\ d \text{ odd}}} \frac{\iota_{\Q}(L_{(d-1)/2})}{d}\, \iota_{\Q}\bigl([u^N](h^d)\bigr) = p \cdot \frac{\iota_{\Q}(L_{qp + m})}{(2q + 1) p} = \frac{\iota_{\Q}(L_{qp + m})}{2q + 1}. \end{equation} By the strong induction hypothesis, $p \mid h_j$ for all $j < N$, so $p^d \mid [u^N](h^d)$ in $R$ for every $d \ge 3$. Since $d \le N < p^2$, we have $v_p(d) \le 1$, and because $d \ge 3$ we have $d - v_p(d) \ge 2$. Writing $d = p^{v_p(d)} d'$ with $p \nmid d'$ and clearing the $p$-coprime denominator $U := (2q + 1) \prod_{3 \le d \le N,\, d \text{ odd}} d'$, every $d \ge 3$ summand in \eqref{eq:log-N} becomes an element of $p^2 R \subset p R$ (after pulling back along the injective map $\iota_{\Q}$). On the right-hand side, Lemma~\ref{lem:schur} and the hypothesis $p \mid L_m$ imply $p \mid L_{qp + m}$ in $R$. Thus $p \mid U h_N$ in $R$, and since $\gcd(U, p) = 1$, we deduce $p \mid h_N$ in $R$. \emph{Step 3: $p \mid [u^k] B_p$ for every $k \ge 1$.} From $A_p = B_p h$ and Step~2, for every $0 \le j < p^2$ we have $[u^j] A_p = \sum_{i=0}^{j} ([u^i] B_p) h_{j-i} \in p R$. By Proposition~\ref{prop:reflect}, $\rev_{p^2}(A_p) = (-1)^m B_p$, so for every $1 \le k \le p^2$ we have \[ [u^k] B_p = (-1)^m [u^{p^2 - k}] A_p \in p R. \] For $k > p^2$, $[u^k] B_p = 0$ by Proposition~\ref{prop:jacobi-props}(3). \emph{Step 4: $h_{p^2} \equiv (-1)^m \pmod{p^2 R}$.} Comparing $[u^{p^2}]$ in $A_p = B_p h$ gives \[ [u^{p^2}] A_p = ([u^0] B_p) h_{p^2} + \sum_{k=1}^{p^2} ([u^k] B_p) h_{p^2 - k}. \] By Proposition~\ref{prop:reflect} and Proposition~\ref{prop:jacobi-props}(1), $[u^{p^2}] A_p = (-1)^m [u^0] B_p = (-1)^m$ and $[u^0] B_p = 1$. For every $1 \le k \le p^2$, we have $p \mid [u^k] B_p$ (Step~3) and $p \mid h_{p^2 - k}$ (Step~2), so every term in the sum lies in $p^2 R$. Hence $h_{p^2} \equiv (-1)^m \pmod{p^2 R}$. \emph{Step 5: $L_{m_2} \equiv (-1)^m p \pmod{p^3 R}$.} Extract $[u^{p^2}]$ from $f(\iota_{\Q}(h)) = p f$ and multiply by~$p$: \begin{equation}\label{eq:log-p2} p\,\iota_{\Q}(h_{p^2}) + \sum_{\substack{3 \le d \le p^2 \\ d \text{ odd}}} \frac{p}{d}\, \iota_{\Q}(L_{(d-1)/2})\, \iota_{\Q}\bigl([u^{p^2}](h^d)\bigr) = \iota_{\Q}(L_{m_2}). \end{equation} By Step~2, $p^d \mid [u^{p^2}](h^d)$ in $R$ for every $d \ge 2$. Write each odd $d \in [3, p^2]$ as $d = p^{v_p(d)} d'$ with $p \nmid d'$. Check the $p$-exponent $1 + d - v_p(d)$: \begin{itemize} \item if $p \nmid d$, then $v_p(d) = 0$ and $1 + d \ge 4 \ge 3$; \item if $p \mid d$ and $d < p^2$, then $v_p(d) = 1$ and $d \ge p \ge 3$, so $1 + d - 1 = d \ge 3$; \item if $d = p^2$, then $v_p(d) = 2$ and $1 + p^2 - 2 = p^2 - 1 \ge 8 \ge 3$. \end{itemize} Thus, clearing the $p$-coprime denominator $V := \prod_{3 \le d \le p^2,\, d \text{ odd}} d'$ in \eqref{eq:log-p2} and pulling back along the injective homomorphism $\iota_{\Q}$, every $d \ge 3$ term lies in $p^3 R$, yielding \[ V L_{m_2} \equiv V p h_{p^2} \equiv V (-1)^m p \pmod{p^3 R} \] by Step~4. Since $\gcd(V, p^3) = 1$, cancelling $V$ modulo $p^3 R$ gives $L_{m_2} \equiv (-1)^m p \pmod{p^3 R}$. Finally, the unshifted statement follows by applying the shifted version over $R[\tfrac{1}{2}]$ at $x = (1 - z)/2$, since $P_n(z) = L_n((1-z)/2)$ and $R[\tfrac{1}{2}]$ is torsion-free whenever $R$ is. \end{proof} \section{Proof of Conjectures 3, 2, and 1}\label{sec:conj123} \subsection{Proof of Conjecture 3} We begin with the squaring lift and the modulo-$p^4$ Clausen expansion. \begin{lemma}[Squaring lift]\label{lem:sq-lift} For every prime $p \in \mathcal{P}_{-7}$, \[ L_{(p^2 - 1)/2}(x_0)^2 \equiv p^2 \pmod{p^4 \Z[\omega]}. \] \end{lemma} \begin{proof} Set $m := (p - 1)/2$ and $m_2 := (p^2 - 1)/2$. By Proposition~\ref{prop:supersing} and Theorem~\ref{thm:universal} applied to $R = \Z[\omega]$ and $x = x_0$, there exists $\alpha \in \Z[\omega]$ such that $L_{m_2}(x_0) = (-1)^m p + p^3 \alpha$. Squaring gives \[ L_{m_2}(x_0)^2 = p^2 + 2(-1)^m p^4 \alpha + p^6 \alpha^2 \equiv p^2 \pmod{p^4 \Z[\omega]}. \qedhere \] \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:main}\textup{(3)}] For $p = 3$, direct calculation gives $a((3^2 - 1)/2) = a(4) = 351{,}225 = 4{,}336 \cdot 81 + 9 \equiv 3^2 \pmod{3^4}$. Now let $p \in \mathcal{P}_{-7}$ with $p \ge 5$, and set $m := (p - 1)/2$ and $m_2 := (p^2 - 1)/2 = p m + m$ (so $2m_2 + 1 = p^2$). By \eqref{eq:clausen-at-x0} and Lemma~\ref{lem:sq-lift}, taking the $\Z$-coordinate in $\Z[\omega]$ yields \begin{equation}\label{eq:clausen-m2} \sum_{k=0}^{m_2} T_k = L_{m_2}(x_0)^2 \equiv p^2 \pmod{p^4}, \qquad T_k := \binom{m_2 + k}{2k} \binom{2k}{k}^2 (-16)^k. \end{equation} We partition $\{0, 1, \dots, m_2\}$ into: \begin{itemize} \item $m + 1$ lower half-blocks $\{qp + r : 0 \le r \le m\}$ ($0 \le q \le m$), and \item $m$ upper half-blocks $\{qp + r : m < r < p\}$ ($0 \le q < m$). \end{itemize} For each $0 \le k \le m_2$, inspect the factors $(2j + 1)$ ($0 \le j < k$) in Lemma~\ref{lem:clausen-prod} at $n = m_2$, where $(2j + 1)^2 - (2m_2 + 1)^2 = (2j + 1)^2 - p^4$. Since $2j + 1 < 2m_2 + 1 = p^2$, a factor $2j + 1$ is divisible by~$p$ if and only if $2j + 1 = (2i + 1)p$ for some $i \ge 0$, i.e., $j = i p + m$, and for every such index $p \nmid (2i + 1)$ (since $2i + 1 < p$). \begin{itemize} \item \emph{Lower half-block $k = qp + r$ ($0 \le q \le m$, $0 \le r \le m$):} The multiples of~$p$ among $\{2j + 1 : 0 \le j < qp + r\}$ are precisely $(2i + 1)p$ for $0 \le i < q$. In \eqref{eq:clausen-prod}, each such index contributes $p^2 (2i+1)^2$ on the left and $p^2\bigl((2i+1)^2 - p^2\bigr)$ on the right. Cancelling $p^{2q}$ from both sides of \eqref{eq:clausen-prod} in $\Z$ leaves all remaining left-hand factors coprime to~$p$, while every non-multiple factor on the right satisfies $(2j+1)^2 - p^4 \equiv (2j+1)^2 \pmod{p^4}$. Reducing modulo~$p^4$ and cancelling the $p$-coprime factors yields \[ T_{qp+r} \equiv \binom{2(qp+r)}{qp+r}^3 \prod_{i=0}^{q-1} \Bigl(1 - \frac{p^2}{(2i+1)^2}\Bigr) \pmod{p^4}. \] Expanding the product modulo~$p^4$ gives $\prod_{i=0}^{q-1} (1 - p^2 (2i+1)^{-2}) \equiv 1 - p^2 c_q \pmod{p^4}$, where $c_q := \sum_{i=0}^{q-1} (2i+1)^{-2} \in \Z/p^4\Z$ is \emph{independent of~$r$}. Summing over $0 \le r \le m$ and applying Proposition~\ref{prop:block-dvd}(b) ($p^2 \mid \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3$) annihilates the $p^2 c_q$ error term modulo~$p^4$: \[ \sum_{r=0}^{m} T_{qp+r} \equiv (1 - p^2 c_q) \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3 \equiv \sum_{r=0}^{m} \binom{2(pq+r)}{pq+r}^3 \pmod{p^4}. \] \item \emph{Upper half-block $k = qp + r$ ($0 \le q < m$, $m < r < p$):} The multiples of~$p$ among $\{2j + 1 : 0 \le j < qp + r\}$ are $(2i+1)p$ for $0 \le i \le q$. Cancelling $p^{2q+2}$ in \eqref{eq:clausen-prod} and reducing modulo~$p^4$ gives \[ T_{qp+r} \equiv (1 - p^2 c_{q+1}) \binom{2(qp+r)}{qp+r}^3 \pmod{p^4}. \] By Lemma~\ref{lem:block-exp}(b), $p^3 \mid \binom{2(qp+r)}{qp+r}^3$, so $p^2 c_{q+1} \binom{2(qp+r)}{qp+r}^3 \equiv 0 \pmod{p^5}$, leaving $T_{qp+r} \equiv \binom{2(qp+r)}{qp+r}^3 \pmod{p^4}$ term-by-term. \end{itemize} Summing over all lower and upper half-blocks in \eqref{eq:clausen-m2} gives \[ a(m_2) = \sum_{k=0}^{m_2} \binom{2k}{k}^3 \equiv \sum_{k=0}^{m_2} T_k \equiv p^2 \pmod{p^4}. \qedhere \] \end{proof} \subsection{Proof of Conjecture 2 and the standalone Wronskian route} \begin{lemma}[Tail vanishing]\label{lem:tail-vanish} Let $p$ be an odd prime. For every integer $k$ with $(p^2 - 1)/2 < k < p^2$, we have $p \mid \binom{2k}{k}$, and consequently $p^3 \mid \binom{2k}{k}^3$. \end{lemma} \begin{proof} Write $k = q p + r$ with $0 \le q, r < p$. Since $(p^2 - 1)/2 = p m + m$ where $m = (p-1)/2$, the inequality $k > p m + m$ implies either $r > m$ (in which case $p \mid \binom{2k}{k}$ by Lemma~\ref{lem:block-exp}(b)) or $r \le m$ and $q > m$. In the latter case $2r < p$ while $p \le 2q < 2p$, so $2k = (2q)p + 2r = p^2 + (2q - p)p + 2r$ has base-$p$ digits $(1, 2q - p, 2r)$ whereas $k$ has base-$p$ digits $(0, q, r)$; since $2q - p < q$, Lucas's theorem gives $\binom{2k}{k} \equiv \binom{1}{0}\binom{2q-p}{q}\binom{2r}{r} = 0 \pmod p$. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:main}\textup{(2)}] Let $p \in \mathcal{P}_{-7}$. Since $p \ge 3$, we have $(p^2 - 1)/2 \le p(p - 1) < p^2$. By Lemma~\ref{lem:tail-vanish}, every term $\binom{2k}{k}^3$ with $(p^2 - 1)/2 < k \le p(p - 1)$ is divisible by $p^3$. Combining this with Theorem~\ref{thm:main}(3) (reduced modulo~$p^3$) yields \[ a\bigl(p(p-1)\bigr) = a\!\left(\frac{p^2 - 1}{2}\right) + \sum_{k = (p^2-1)/2 + 1}^{p(p-1)} \binom{2k}{k}^3 \equiv p^2 + 0 = p^2 \pmod{p^3}. \qedhere \] \end{proof} \begin{remark}[Short Wronskian proof modulo $p^3$]\label{rem:wronskian} For Conjectures~1 and~2 alone, one does not need the Jacobi quartic machinery of Section~\ref{sec:jacobi} at all: in our Lean files \texttt{OeisA79727.conjecture2.lean} and \texttt{OeisA79727.conjecture1.lean}, we prove $L_{m_2}(x_0) \equiv (-1)^m p \pmod{p^2 \Z[\omega]}$ directly via a short polynomial Wronskian identity modulo~$p^2$ (lemma \texttt{wronskian\_mod\_p2}). Specifically, setting $H := X(1-X)(L_m L_{m_2}' - L_m' L_{m_2})$ and $g := X(1-X) L_m'$, the shifted Legendre ODE~\eqref{eq:Ln-ode} gives \[ H' = -p^2 m(m+1) L_m L_{m_2}, \qquad g' = -m(m+1) L_m. \] By Schur's congruence (Lemma~\ref{lem:schur}), $L_{m_2} \equiv L_m(X^p) L_m \pmod p$, whence $[X^{jp-1}](L_m L_{m_2}) \equiv [X^{j-1}] L_m \pmod p$ for all $j \ge 1$ (because $[X^{p-1}](L_m^2) = [X^{2m}](L_m^2) = \binom{2m}{m}^2 \equiv 1 \pmod p$). Integrating term-by-term modulo~$p^2$ yields \[ H(X) \equiv p\, g(X^p) \pmod{p^2 \Z[X]}. \] We now evaluate at $x_0$. Since $p$ is inert in $\Z[\omega]$, the Frobenius map sends $\omega \mapsto 1 - \omega$ modulo~$p$, so $x_0^p \equiv 1 - x_0 \pmod{p\,\Z[\omega]}$. Differentiating $L_m(1 - X) = (-1)^m L_m(X)$ gives $L_m'(1 - X) = (-1)^{m+1} L_m'(X)$. Moreover, $L_m'(x_0) \not\equiv 0 \pmod p$: differentiating~\eqref{eq:Ln-ode} $k$ times gives $(X^2 - X) L_m^{(k+2)} + (k+1)(2X - 1) L_m^{(k+1)} = \bigl(m(m+1) - k(k+1)\bigr) L_m^{(k)}$, and since $x_0^2 - x_0 = -16$ is a unit modulo~$p$, the vanishing of $L_m(x_0)$ and $L_m'(x_0)$ modulo~$p$ would force every derivative $L_m^{(k)}(x_0)$ to vanish modulo~$p$, contradicting $L_m^{(m)} = (-1)^m m! \binom{2m}{m} \not\equiv 0 \pmod p$. Schur's congruence also gives $L_{m_2}' \equiv L_m(X^p) L_m' \pmod{p}$, so $L_{m_2}'(x_0) \equiv L_m(1 - x_0) L_m'(x_0) = (-1)^m L_m(x_0) L_m'(x_0) \equiv 0 \pmod p$. As $p \mid L_m(x_0)$ as well, evaluating $H(X) \equiv p\, g(X^p) \pmod{p^2}$ at $x_0$ yields \[ 16\, L_m'(x_0)\, L_{m_2}(x_0) \equiv p \cdot (-16) \cdot (-1)^{m+1} L_m'(x_0) \pmod{p^2 \Z[\omega]}, \] and cancelling the unit $16 L_m'(x_0)$ modulo~$p^2$ gives $L_{m_2}(x_0) \equiv (-1)^m p \pmod{p^2 \Z[\omega]}$. Squaring lifts this to $L_{m_2}(x_0)^2 \equiv p^2 \pmod{p^3 \Z[\omega]}$, which yields $a(m_2) \equiv p^2 \pmod{p^3}$ directly by the argument of Section~\ref{sec:conj123} reduced modulo~$p^3$. \end{remark} \subsection{Proof of Conjecture 1} To pass from $a(p(p-1))$ to $a(p^2)$, we need a Wolstenholme-type congruence (a Jacobsthal-type extension of Wolstenholme's theorem~\cite{Wolstenholme1862}) at index $p^2$. \begin{lemma}[Wolstenholme-type congruence for $\binom{2p^2}{p^2}$]\label{lem:wolst-p2} For every prime $p \ge 5$, \[ \binom{2p^2}{p^2} \equiv 2 \pmod{p^3}. \] \end{lemma} \begin{proof} Let $P(X) := \prod_{r=1}^{p-1} (X + r) = \sum_{j=0}^{p-1} e_{p-1-j} X^j \in \Z[X]$, where $e_0 = 1$, $e_{p-1} = (p-1)!$, and $e_k$ is the $k$-th elementary symmetric polynomial in $\{1, \dots, p-1\}$. In $\F_p[X]$, $P(X) = X^{p-1} - 1$, so $p \mid e_k$ for all $1 \le k \le p - 2$. Moreover, pairing $r$ with $p - r$ in $P(-p) = P(0) = (p-1)!$ yields \[ \sum_{j=1}^{p-1} e_{p-1-j} (-p)^j = 0. \] For $j \ge 3$, $p^3 \mid (-p)^j$ (and for $j = 2$, $p \mid e_{p-3}$ since $p \ge 5 \implies p - 3 \ge 2 \ge 1$, so $p^3 \mid e_{p-3} p^2$). Thus $p^3 \mid (-p) e_{p-2}$, i.e., $p^2 \mid e_{p-2}$. Consequently, for every integer $a \ge 0$, \begin{equation}\label{eq:block-prod-p3} \prod_{r=1}^{p-1} (a p + r) = P(a p) \equiv (p - 1)! \pmod{p^3}. \end{equation} In particular, multiplying $\binom{2p}{p} p! = \prod_{r=1}^{p} (p + r) = 2p \prod_{r=1}^{p-1} (p + r)$ and cancelling $p$ in $\Z$ gives $\binom{2p}{p} (p-1)! = 2 \prod_{r=1}^{p-1} (p + r) \equiv 2(p-1)! \pmod{p^3}$, so $\binom{2p}{p} \equiv 2 \pmod{p^3}$. For $\binom{2p^2}{p^2}$, separate the product $\binom{2p^2}{p^2} (p^2)! = \prod_{k=1}^{p^2} (p^2 + k)$ into multiples and non-multiples of~$p$: \begin{align*} \prod_{k=1}^{p^2} (p^2 + k) &= \Biggl(\prod_{j=1}^{p} (p^2 + jp)\Biggr) \Biggl(\prod_{q=0}^{p-1} \prod_{r=1}^{p-1} \bigl((p + q)p + r\bigr)\Biggr) \\ &= p^p \Biggl(\prod_{j=1}^{p} (p + j)\Biggr) \Biggl(\prod_{q=0}^{p-1} \prod_{r=1}^{p-1} \bigl((p + q)p + r\bigr)\Biggr), \end{align*} and similarly \[ (p^2)! = p^p\, p! \prod_{q=0}^{p-1} \prod_{r=1}^{p-1} (qp + r). \] Cancelling $p^p \cdot p!$ (note $\prod_{j=1}^{p} (p+j) = \binom{2p}{p} p!$) in $\Z$ gives \[ \binom{2p^2}{p^2} \prod_{q=0}^{p-1} \prod_{r=1}^{p-1} (qp + r) = \binom{2p}{p} \prod_{q=0}^{p-1} \prod_{r=1}^{p-1} \bigl((p + q)p + r\bigr). \] By \eqref{eq:block-prod-p3}, every inner product on both sides is congruent to $(p-1)! \pmod{p^3}$, which is a unit modulo~$p^3$. Cancelling $((p-1)!)^p$ yields $\binom{2p^2}{p^2} \equiv \binom{2p}{p} \equiv 2 \pmod{p^3}$. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:main}\textup{(1)}] For $p = 3$, direct calculation gives $a(3^2) = a(9) = 117{,}106{,}008{,}311{,}825 \equiv 17 = 8 + 3^2 \pmod{3^3}$. Now let $p \in \mathcal{P}_{-7}$ with $p \ge 5$, and split \[ a(p^2) = a\bigl(p(p-1)\bigr) + \sum_{k = p(p-1) + 1}^{p^2 - 1} \binom{2k}{k}^3 + \binom{2p^2}{p^2}^3. \] The first term is congruent to $p^2 \pmod{p^3}$ by Theorem~\ref{thm:main}(2); every term in the middle sum is divisible by $p^3$ by Lemma~\ref{lem:tail-vanish}; and $\binom{2p^2}{p^2}^3 \equiv 2^3 = 8 \pmod{p^3}$ by Lemma~\ref{lem:wolst-p2}. Hence $a(p^2) \equiv 8 + p^2 \pmod{p^3}$. \end{proof} \section{Formal Verification in Lean 4}\label{sec:lean} All four parts of Theorem~\ref{thm:main} have been completely formalized and independently machine-checked in Lean~4.33.1 with Mathlib against the exact upstream problem statements \texttt{OeisA79727.conjecture1} through \texttt{OeisA79727.conjecture4} in \texttt{FormalConjectures/OEIS/79727.lean} (\texttt{formal-conjectures} commit \texttt{9097e2f90e66}~\cite{FormalConjectures}). The four standalone proof files are publicly archived in the repository \texttt{saientropy/open-math-agents}. Each file exports a single theorem \texttt{OMA.solution : type\_of\% @OeisA79727.conjecture}$i$ ($i \in \{1, 2, 3, 4\}$) and passes automated lint and full kernel verification (\texttt{tools/lint.py} and \texttt{tools/check.sh}) with exit code~$0$, zero \texttt{sorry}, zero \texttt{native\_decide}, zero \texttt{set\_option}/\texttt{maxHeartbeats} overrides, and \texttt{\#print axioms OMA.solution} reporting strictly the three standard Lean/Mathlib axioms: \[ \texttt{[propext, Classical.choice, Quot.sound]}. \] Table~\ref{tab:commits} summarizes the four verified commits (note that \texttt{conjecture1}, \texttt{conjecture2}, and \texttt{conjecture4} compile with zero warnings, while \texttt{conjecture3} exits~$0$ with zero errors and emits only a single non-fatal \texttt{ring\_nf} tactic suggestion). Table~\ref{tab:lean-map} gives the correspondence between the results in Sections~\ref{sec:velu}--\ref{sec:conj123} and their verified Lean~4 declarations. \begin{table}[ht] \centering \caption{Summary of the four independently verified Lean~4.33.1 proofs of Theorem~\ref{thm:main} in \texttt{saientropy/open-math-agents}.}\label{tab:commits} \small \begin{tabular}{@{}lllrrr@{}} \toprule Result & Upstream declaration & Commit (prefix) & Lines & Bytes & Verify time \\ \midrule Thm.~\ref{thm:main}(1) & \texttt{OeisA79727.conjecture1} & \texttt{9b85d744} & $3{,}442$ & $175{,}570$ & $59.9\,\mathrm{s}$ \\ Thm.~\ref{thm:main}(2) & \texttt{OeisA79727.conjecture2} & \texttt{78321474} & $3{,}026$ & $154{,}448$ & $45.0\,\mathrm{s}$ \\ Thm.~\ref{thm:main}(3) & \texttt{OeisA79727.conjecture3} & \texttt{9582e1ef} & $5{,}405$ & $291{,}460$ & $56.5\,\mathrm{s}$ \\ Thm.~\ref{thm:main}(4) & \texttt{OeisA79727.conjecture4} & \texttt{e3b90628} & $2{,}405$ & $124{,}769$ & $26.2\,\mathrm{s}$ \\ \bottomrule \end{tabular} \end{table} \begin{table}[ht] \centering \caption{Correspondence between paper results and verified Lean~4 declarations across \texttt{OeisA79727.conjecture\{1,2,3,4\}.lean} (line numbers refer to the indicated file).}\label{tab:lean-map} \small \begin{tabular}{@{}llll@{}} \toprule Paper result & Lean 4 declaration & File & Line \\ \midrule $x_0^2 - x_0 = -16$, $(2\omega-1)^2 = -7$ & \texttt{ZOmega.neg\_x0\_mul\_one\_sub}, \texttt{two\_omega\_sub\_one\_sq} & \texttt{conj4} & L119, L123 \\ Lemma~\ref{lem:neg7-half} ($\leg{-7}{p} = -1$) & \texttt{leg7\_val} & \texttt{conj4} & L166 \\ Lemma~\ref{lem:velu-id} (V\'elu identity) & \texttt{velu\_ring\_identity} & \texttt{conj4} & L353 \\ Prop.~\ref{prop:supersing} ($[X^m] Q_s^m = 0$) & \texttt{veluQs\_pow\_coeff\_m\_eq\_zero} & \texttt{conj4} & L470 \\ Prop.~\ref{prop:supersing} ($p \mid L_m(x_0)$) & \texttt{shiftedLegendre\_eval\_x0\_eq\_zero} & \texttt{conj4} & L798 \\ Prop.~\ref{prop:clausen} (Clausen in $\Z[X]$) & \texttt{clausen\_poly\_identity} & \texttt{conj4} & L1166 \\ Lemma~\ref{lem:clausen-prod} (Product weights) & \texttt{clausen\_term\_prod\_identity} & \texttt{conj4} & L1422 \\ Cor.~\ref{cor:dvd-a-half} ($p^2 \mid a(m)$) & \texttt{dvd\_a\_half} & \texttt{conj4} & L1518 \\ Lemma~\ref{lem:block-exp} (Block mod $p^2$, carry) & \texttt{choose\_two\_mul\_block\_cube\_mod\_p2}, \texttt{choose\_two\_mul\_dvd\_p\_of\_gt\_half} & \texttt{conj4} & L1833, L1851 \\ Prop.~\ref{prop:block-dvd}(a) (Harmonic sum) & \texttt{sum\_harmDiff\_eq\_zero\_mod\_p} & \texttt{conj4} & L1964 \\ Lemma~\ref{lem:p3-odd} ($9 \mid a(3t+1)$) & \texttt{dvd\_nine\_a\_three\_mul\_odd} & \texttt{conj4} & L2193 \\ Thm.~\ref{thm:main}(4) (Conjecture~4) & \texttt{dvd\_p2\_a\_p\_mul\_odd}, \texttt{OMA.solution} & \texttt{conj4} & L2255, L2360 \\ Lemma~\ref{lem:schur} (General Schur) & \texttt{shiftedLegendre\_block\_mod\_p} & \texttt{conj3} & L2279 \\ Lemma~\ref{lem:Q-g-sq} ($Q g^2 = 1$, $y^2 = Q$) & \texttt{Qpoly\_mul\_legSeriesG\_sq}, \texttt{legSeriesY\_sq} & \texttt{conj3} & L2760, L2815 \\ Lemma~\ref{lem:jacobi-add} (Addition law) & \texttt{jacobi\_add\_ps\_law} & \texttt{conj3} & L2829 \\ Def.~\ref{def:jacobiTriple} ($(A_n, B_n, C_n)$) & \texttt{jacobiTriple}, \texttt{jA}, \texttt{jB}, \texttt{jC} & \texttt{conj3} & L2977--3009 \\ Prop.~\ref{prop:jacobi-props} (Degrees, $u_n$, Wronsk.) & \texttt{jacobiTriple\_natDegree\_le}, \texttt{jU\_jY\_props}, \texttt{jA\_jB\_wronskian\_odd} & \texttt{conj3} & L3141, L3351, L3639 \\ Lemma~\ref{lem:log} ($f(u_n) = n f$, inj.) & \texttt{legLogF\_subst\_eq}, \texttt{legLogF\_subst\_injective} & \texttt{conj3} & L3725, L3854 \\ Lemma~\ref{lem:consec-diff} (Consec.\ diff.) & \texttt{jacobi\_consec\_diff} & \texttt{conj3} & L3898 \\ Prop.~\ref{prop:reflect} (Reflection sym.) & \texttt{reflect\_derivative}, \texttt{jacobiTriple\_reflect} & \texttt{conj3} & L4040, L4081 \\ Thm.~\ref{thm:universal} ($R = \Z[\omega], x_0, p \ge 5$) & \texttt{shiftedLegendre\_m2\_eval\_x0\_mod\_p3} & \texttt{conj3} & L4535 \\ Lemma~\ref{lem:sq-lift}, Prop.~\ref{prop:block-dvd}(b) & \texttt{shiftedLegendre\_m2\_eval\_x0\_sq\_mod\_p4}, \texttt{block\_cube\_sum\_dvd\_p2} & \texttt{conj3} & L5036, L5077 \\ Thm.~\ref{thm:main}(3) (Conjecture~3) & \texttt{a\_m2\_mod\_p4\_ge5}, \texttt{a\_m2\_mod\_p4\_three}, \texttt{OMA.solution} & \texttt{conj3} & L5107, L5387, L5404 \\ Remark~\ref{rem:wronskian} (Wronskian mod $p^2$) & \texttt{wronskian\_mod\_p2}, \texttt{shiftedLegendre\_m2\_eval\_x0\_mod\_p2} & \texttt{conj2} & L2100, L2372 \\ Lemma~\ref{lem:tail-vanish}, Thm.~\ref{thm:main}(2) & \texttt{choose\_two\_mul\_dvd\_p\_of\_range}, \texttt{OMA.solution} & \texttt{conj2} & L2945, L3024 \\ Lemma~\ref{lem:wolst-p2}, Thm.~\ref{thm:main}(1) & \texttt{choose\_two\_mul\_sq\_mod\_p3}, \texttt{OMA.solution} & \texttt{conj1} & L3236, L3440 \\ \bottomrule \end{tabular} \end{table} \begin{remark}[Transparency of verification scope]\label{rem:formal-scope} Every statement of Theorem~\ref{thm:main}(1)--(4) is verified end-to-end in Lean~4 against the exact upstream definitions in \texttt{FormalConjectures/OEIS/79727.lean} without any unproved assumptions or external computations. The single-prime base cases $p = 3$ of \texttt{conjecture1} ($a(9) \equiv 17 \pmod{27}$, lemma \texttt{a\_nine\_mod\_27}) and \texttt{conjecture3} ($a(4) \equiv 9 \pmod{81}$, lemma \texttt{a\_m2\_mod\_p4\_three}) are evaluated inside Lean's kernel via \texttt{decide +kernel}. In \texttt{conjecture4}, by contrast, the prime $p = 3$ must be handled for infinitely many indices $n = 3t + 1$; this is done by induction on $t$ (Lemma~\ref{lem:p3-odd}, lemma \texttt{dvd\_nine\_a\_three\_mul\_odd}), with only the base case $9 \mid a(1)$ checked by computation. As noted in Remark~\ref{rem:univ-scope}, Theorem~\ref{thm:universal} is formalized in \texttt{conjecture3.lean} specifically at $R = \Z[\omega]$, $x = x_0$, and $p \ge 5$, whereas Section~\ref{sec:jacobi} states and proves the same argument in full generality for an arbitrary torsion-free commutative ring $R$ and all odd primes $p \ge 3$. \end{remark} \section{Sharpness and Open Questions}\label{sec:remarks} Direct exact integer computations illuminate the sharpness of the moduli in Theorem~\ref{thm:main} and suggest three natural follow-up directions. \begin{enumerate} \item \emph{Sharpness of the moduli and a modulo-$p^5$ question for $p \ge 5$.} In Theorem~\ref{thm:main}(4), the modulus $n^2$ is already sharp at $n = 3$ ($a(1) = 9 \not\equiv 0 \pmod{27}$) and $n = 5$ ($a(2) = 225 \equiv 100 \pmod{125}$). In Theorem~\ref{thm:main}(1)--(2), the modulus $p^3$ is sharp for every checked prime $p \in \{3, 5, 13\}$: \begin{align*} p = 3: &\quad a(6) - 9 \equiv 54 \pmod{81}, \quad a(9) - 17 \equiv 54 \pmod{81}; \\ p = 5: &\quad a(20) - 25 \equiv 500 \pmod{625}, \quad a(25) - 33 \equiv 500 \pmod{625}; \\ p = 13: &\quad a(156) - 169 \equiv 12 \cdot 13^3 \pmod{13^4}, \quad a(169) - 177 \equiv 11 \cdot 13^3 \pmod{13^4}. \end{align*} In Theorem~\ref{thm:main}(3), the modulus $p^4$ cannot be uniformly improved to $p^5$ over all $p \in \mathcal{P}_{-7}$, because at $p = 3$ we have $a(4) - 9 = 351{,}216 = 4{,}336 \cdot 81 \equiv 81 \pmod{243}$. However, exact computations for the next five primes in $\mathcal{P}_{-7}$ yield \[ a\!\left(\frac{p^2 - 1}{2}\right) - p^2 \equiv \begin{cases} 4 \cdot 5^5 \pmod{5^6} & (p = 5), \\ 3 \cdot 13^5 \pmod{13^6} & (p = 13), \\ 10 \cdot 17^5 \pmod{17^6} & (p = 17), \\ 15 \cdot 19^5 \pmod{19^6} & (p = 19), \\ 18 \cdot 31^5 \pmod{31^6} & (p = 31), \end{cases} \] so in every one of these cases $a((p^2 - 1)/2) \equiv p^2 \pmod{p^5}$ while failing modulo~$p^6$. This motivates the natural open question: \emph{does $a((p^2 - 1)/2) \equiv p^2 \pmod{p^5}$ hold for every prime $p \ge 5$ with $p \equiv 3, 5, 6 \pmod 7$?} \item \emph{Other CM discriminants and weighted sums $\sum \binom{2k}{k}^3 / m^k$.} Theorem~\ref{thm:universal} requires only $p \mid L_{(p-1)/2}(x)$. By Lemma~\ref{lem:clausen-prod}, evaluating Clausen's identity at a point $x$ with $x(1 - x) = 16/m$ relates $L_n(x)^2$ to the weighted cubes $\binom{2k}{k}^3 / m^k$, and for suitable CM values of~$x$ the divisibility $p \mid L_{(p-1)/2}(x)$ is known for the relevant inert primes (see~\cite{Sun2013JNT}). It is natural to ask whether an analogue of Proposition~\ref{prop:block-dvd} holds in this setting; if so, the argument of Section~\ref{sec:conj123} would give analogous modulo-$p^4$ supercongruences for $\sum_{k=0}^{(p^2-1)/2} \binom{2k}{k}^3 / m^k$. We have not checked this. \item \emph{Higher prime powers $p^r$.} The formal logarithm analysis of Section~\ref{sec:jacobi} could in principle be repeated at $n = p^r$ ($r \ge 2$) using the triples $(A_{p^r}, B_{p^r}, C_{p^r})$. Whether this gives useful information about $L_{(p^r - 1)/2}(x)$ and $a((p^r - 1)/2)$ modulo higher powers of~$p$ is open. \end{enumerate} \section*{Acknowledgments} The formalizations were developed and verified using Lean~4.33.1, Mathlib, and the \texttt{formal-conjectures} benchmark suite. \begin{thebibliography}{99} \bibitem{Clausen1828} Th.~Clausen, \emph{Ueber die F\"alle, wenn die Reihe von der Form $y = 1 + \frac{\alpha}{1}\cdot\frac{\beta}{\gamma}x + \dots$ ein Quadrat von der Form $z = 1 + \frac{\alpha'}{1}\cdot\frac{\beta'}{\delta'}\cdot\frac{\gamma'}{\varepsilon'}x + \dots$ hat}, J. Reine Angew. Math. \textbf{3} (1828), 89--91. \bibitem{FormalConjectures} Google DeepMind, \emph{Formal Conjectures: An Open and Evolving Benchmark for Verified Discovery in Mathematics}, GitHub repository \url{https://github.com/google-deepmind/formal-conjectures}, file \texttt{FormalConjectures/OEIS/79727.lean} (commit \texttt{9097e2f90e66}). \bibitem{OEIS} OEIS Foundation Inc., \emph{The On-Line Encyclopedia of Integer Sequences}, sequences \texttt{A079727} (conjectures of P.~Bala, Jul~12, 2024) and \texttt{A003625}, \url{https://oeis.org/A079727} and \url{https://oeis.org/A003625}. \bibitem{Sun2011PAMS} Z.-H.~Sun, \emph{Congruences concerning Legendre polynomials}, Proc. Amer. Math. Soc. \textbf{139} (2011), no.~6, 1915--1929, \texttt{arXiv:1012.3833} [math.NT], doi:\texttt{10.1090/S0002-9939-2010-10566-X}. \bibitem{Sun2013JNT} Z.-H.~Sun, \emph{Congruences concerning Legendre polynomials II}, J. Number Theory \textbf{133} (2013), no.~6, 1950--1976, \texttt{arXiv:1012.3898} [math.NT], doi:\texttt{10.1016/j.jnt.2012.11.004}. \bibitem{Velu1971} J.~V\'elu, \emph{Isog\'enies entre courbes elliptiques}, C. R. Acad. Sci. Paris S\'er. A-B \textbf{273} (1971), A238--A241. \bibitem{Wahab1952} J.~H.~Wahab, \emph{New cases of irreducibility for Legendre polynomials}, Duke Math. J. \textbf{19} (1952), no.~1, 165--176. \bibitem{Wolstenholme1862} J.~Wolstenholme, \emph{On certain properties of prime numbers}, Quart. J. Pure Appl. Math. \textbf{5} (1862), 35--39. \end{thebibliography} \end{document}