Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

Proof

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?

Theorem 2.1 (Mathar’s recurrence)LEAN ✓

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.