Why should a whole row obey a short rule?
Multiply a row of numbers by its reverse, entry by entry, and add the products. Can the answer be found without rebuilding the entire row each time? Haobo Ma and Wenlin Zhang answer this question for a number triangle introduced by Clark Kimberling. They give a closed formula for every row and use it to prove R. J. Mathar’s A027182 recurrence conjecture of 6 May 2026. The same binomial structure also yields recurrences for four related sequences.
Start with an example small enough to do by hand. Row two is , giving
The answer is not : the paper points out that arithmetic slip at the end of the OEIS example, while the OEIS term list agrees with . The question is why a single formula works for rows of any length.
From choosing objects to a row of numbers
The binomial coefficient counts the ways to choose objects from distinct objects; for instance, . Row of Pascal’s triangle lists these numbers. Kimberling’s A027170 combines entries from neighboring Pascal rows. For integers and , its original definition is
Since , the correction of four matters. Pascal’s identity combines the two middle terms, giving the convenient form
Here are the first few rows. Both row numbers and positions start at zero.
| Row | Sum of squares | |
|---|---|---|
Use to remember positions: set . This polynomial simply packages a row; we need not assign a numerical value to . For example, . The paper studies
where means “take the coefficient of .” In the product, two positions contribute exactly when they add to , so
This is the self-convolution in this problem. Each row reads the same backward: . Thus the convolution is a sum of squares. Symmetry removes the apparent difficulty of pairing different positions.
The paper’s answer
A closed form computes the answer directly from ; a recurrence computes it from earlier answers. To keep the long recurrence readable, define the following expression, including its correction term. It is not a linear operator:
For every integer ,
For every integer , .
The complete written argument is in the next chapter. The original A027182 starts at ; the same construction supplies . The closed form includes this boundary: . With this extension the recurrence also holds at ; the public Lean theorem states the range .
The gain is more than fewer multiplications. A whole row’s sum of squares becomes three neighboring central binomial coefficients , a power , and an affine expression. Knowing how each part changes with the index explains why a fixed-length recurrence exists. It is an all-index argument, rather than a formula fitted to a finite list. The paper does not establish that the recurrence has minimal order.
A map of the proof
Write a row entry as , with and . Expanding the square leaves five kinds of sums besides the constant term. The binomial theorem evaluates all five. Next, the ratio of consecutive central binomial coefficients gives a second-order relation; suitable shifts then remove the exponential part. A shift must move the index-dependent coefficients as well as the sequence entries.
The film draws this same route, beginning with the pairings in row two and ending with the mechanism behind the closed form and recurrence.
From a symmetric row to a recurrence: English narration and aligned Chinese/English subtitles explain the sum of squares and shifted cancellation.
For a page-by-page mathematical talk, use the aligned Chinese and English academic presentation and its speaker notes.
Continue with the complete main proof, then the four companion recurrences. Evidence and contributions explains which statements have public Lean theorems and how to extend that correspondence.
The main proof: evaluate first, then shift
This chapter gives the complete chain of reasoning for Theorem 1 of the manuscript. All sums are finite: no convergence or interchange of infinite sums is involved. We first obtain the closed form, then turn it into a recurrence.
Step 1: symmetry removes the pairings. Fix and put and . Choosing a subset and choosing its complement give the same count, so and . The convolution from the previous chapter becomes
Step 2: evaluate five sums. Why should a sum of products become another binomial coefficient? Choose objects from two groups of sizes and , and classify the choice by how many came from the first group:
Out-of-range binomial coefficients are zero. Equivalently, compare coefficients of in . For , our omits the two endpoints of the full row, each contributing . For the mixed sum use , set , and use ; the omitted term is zero. For the squared sum use . Finally, setting in a binomial expansion gives the ordinary row sums. Hence
Expand the square, retaining every correction term:
After substitution, the exponential part is ; the remaining correction is . This proves the closed form, including .
Step 3: find a second-order relation. Put , , and . Canceling factorials gives
Think of as the following operation on a sequence:
Substituting the definition of and grouping coefficients of gives
Step 4: shift and cancel. Let . Applying twice kills both and . Define
Here , so the coefficients must also change from to . For example, the first term becomes , rather than . The full expansion is
Since , we have . Direct substitution in the other two parts gives
The first is killed by . For any quadratic , expanding the shifts gives . Therefore
The closed form is . By linearity of , we obtain for every . Put : the six coefficients become those in the previous chapter, and the constant becomes . This proves the recurrence for and also explains why it holds at after adjoining .
Which part matches the public Lean theorem?
For the sequence defined in the first chapter, every natural number satisfies .
This isolates the recurrence conclusion of Theorem 1, rather than asserting a stronger main theorem. The public Lean statement uses the original definitions of : in the natural numbers, first subtracts and then adds . On , we have and , hence and the subtraction does not truncate. Recurrence coefficients and sequence values are cast to integers; also keeps away from natural-number underflow. Thus the definitions, arithmetic domain and boundary match.
The public source contains a private proof of the closed form, but its public result statement asserts the recurrence for . We therefore retain the full source theorem as an attributed written proof and cite the exactly matching recurrence separately. Evidence and contributions links the source and the remaining scope.
Four companion recurrences: the same backbone
The main sequence uses a whole row’s sum of squares. Now take one middle entry, one near-middle entry, or the sum of the left half. These different-looking objects also reduce to central binomial coefficients and simple corrections. Keep and from the previous chapter. These are Corollaries 2–4 of the manuscript; Corollary 2 treats two sequences.
A middle entry
Let for (A027171), and for (A027175). The following holds for with , and with :
The closed forms recorded by Christian Krause on 10–11 May 2026 follow directly from the definition of :
For , use and . Substituting into the three sequence terms gives
The three coefficients sum to . Subtracting contributes , canceled by ; replacing by preserves the zero homogeneous part. The lower bounds keep or in its original domain. For example, gives at .
Two positions left of the middle
Let for (A027174). For every integer ,
Krause’s closed form recorded on 11 May 2026 can be written as
The ratios of the two binomial coefficients to are and , with the first multiplied by . Call the coefficients of the three sequence terms . Use
Multiply by . It becomes the following polynomial, which can be checked by expansion:
All denominators used here are nonzero for . Also , so the correction supplies exactly the negative of the required inhomogeneous term.
Why does a half-row need a parity split?
An odd-numbered row has an even number of positions, so its halves pair perfectly. An even-numbered row has a middle position; including it in both halves counts it twice. In row , the left half sums to , while the full sum is : indeed . In row , the left half is , exactly half the full sum .
Let for (A027179), and define
Then, for every integer ,
First use binomial row sums to obtain the full row:
This is the A027178 row-sum formula recorded by Ralf Stephan in 2004, with proof credited to Krause in 2026. Using the parity decomposition recorded by Mathar, for odd and for even . Define and for . The even-row middle entry is ; the even-index indicator is . Thus
Put . Expanding the seven coefficients above gives
It remains to show . For even only remain; for odd only remain. Central binomial ratios give
The two polynomial certificates are
Both zeros follow by expanding the displayed products. To specify how every term is obtained, let be the parity of . When ,
An empty product is ; shifts of the other parity are zero. All denominators are nonzero in the stated ranges, and . Thus . Apply to the closed form for : the exponential and alternating parts vanish, and the affine part leaves the polynomial that cancels the recurrence’s constant term. This completes the proof.
These four recurrence proofs share the central binomial relation with the main recurrence, but that does not make them consequences of the public Lean theorem about the main sequence. Their contribution links use the canonical shared-request route.
Evidence, sources and contributions
This explanation follows version 4 of Proof of Mathar’s conjecture on OEIS A027182: a closed form and the six-term recurrence, by Haobo Ma and Wenlin Zhang. The exact version DOI is 10.5281/zenodo.23884890; 10.5281/zenodo.23884889 is the concept DOI for the work. The paper and this explanation use CC BY 4.0. Haobo Ma is affiliated with ChronoAI Pte Ltd, Singapore; Wenlin Zhang with the National University of Singapore and ChronoAI Pte Ltd, Singapore.
Scope of the argument and formal evidence
The public theorem in the Lean source file proves the A027182 recurrence for every , using the same triangle and convolution definitions as the manuscript. The source is identical at the paper’s recorded revision and the book’s pin. Our separate recurrence statement cites it exactly. A private helper proof of the closed form does not make the whole paper one public theorem; the full closed form and three companion corollaries are presented with their manuscript proofs.
The paper also reports finite arithmetic comparisons through . These can help detect errors; conclusions for every index rest on the written arguments or an exactly matching Lean theorem. We have not rerun the programs supplied with the manuscript.
| Remaining public scope | Shared contribution link |
|---|---|
| All-index closed form in the main theorem; retain the existing recurrence proof | A027182 closed form |
| Middle-entry recurrences for A027171 and A027175 | Two middle entries |
| Near-middle recurrence for A027174 | Near-middle entry |
| Half-row recurrence for A027179 | Half-row sum |
These results have proofs in the manuscript and await the public formalization scope specified above. Contributors coordinate a precise scope on the corresponding request, work on a focused branch in their own fork, and submit directly to trureturing dev under the upstream contribution rules. After acceptance, the public statement must still be compared with the source definitions, quantifiers and boundaries before updating this book’s citations. GitHub activity does not constitute a platform verification receipt or award points.
Who posed the problems and supplied the formulas?
Clark Kimberling introduced the A027170 triangle and A027182. R. J. Mathar recorded the five recurrence conjectures addressed here on 6 May 2026. Christian Krause recorded the A027171 closed form on 10 May 2026 and the A027174 and A027175 formulas on 11 May. The paper uses these formulas to prove their recurrences while retaining their original attribution. The parity decomposition for A027179 is credited to Mathar. Ralf Stephan recorded the A027178 row-sum formula in 2004; the OEIS credits Krause with a proof in 2026. These dates and attributions follow the OEIS records cited in version 4.
For general algorithms deriving recurrences for binomial sums, see A. Bostan, P. Lairez and B. Salvy, Multiple binomial sums, Journal of Symbolic Computation 80 (2017), 351–386, doi:10.1016/j.jsc.2016.04.002. The mechanism here is a direct evaluation using row symmetry, followed by a shifted operator calculation.
Verification ledger
Lean-verified results correspond to frozen declarations in trureturing. Written proofs and open items are listed separately below. The table lists the Lean correspondence; links are fixed to the pinned commit, so they do not drift with upstream changes.
Formal basis: trureturing commit 8a24ea4e79de · the-omega-institute/trureturing
| Item | Title | Lean declaration | Frozen state |
|---|---|---|---|
| Theorem 2.1 | Mathar’s recurrence | D5.S1.Recurrence.MatharA027182SelfConvolution.result | 506e701934 |
Written proofs
These results cite DOI sources, book proofs and registered formalization requests. They are not kernel-verified and are excluded from LEAN ✓ counts.
- Theorem 1.1 — Closed form and Mathar’s recurrence · Proof · DOI: 10.5281/zenodo.23884890 · Theorem 1 · trureturing-requests#253
- Corollary 3.1 — Two middle-entry sequences · Proof · DOI: 10.5281/zenodo.23884890 · Corollary 2 · trureturing-requests#254
- Corollary 3.2 — Near-middle recurrence · Proof · DOI: 10.5281/zenodo.23884890 · Corollary 3 · trureturing-requests#255
- Corollary 3.3 — Seven-term half-row recurrence · Proof · DOI: 10.5281/zenodo.23884890 · Corollary 4 · trureturing-requests#256
Open problems and conjectures
The following items are explicitly marked open; the book does not treat them as proved.
(none)