Subfield: Combinatorics


Question: The arrangement of numbers known as Pascal's Triangle has fascinated mathematicians for centuries. In fact, about 700 years before Pascal, the Indian mathematician Halayudha wrote about it in his commentaries to a then-1000-year-old treatise on verse structure by the Indian poet and mathematician Pingala, who called it the Meruprastāra, or "Mountain of Gems". In this Power Question, we'll explore some properties of Pingala's/Pascal's Triangle ("PT") and its variants.

Unless otherwise specified, the only definition, notation, and formulas you may use for PT are the definition, notation, and formulas given below.

PT consists of an infinite number of rows, numbered from 0 onwards. The $n^{\text {th }}$ row contains $n+1$ numbers, identified as $\mathrm{Pa}(n, k)$, where $0 \leq k \leq n$. For all $n$, define $\mathrm{Pa}(n, 0)=\operatorname{Pa}(n, n)=1$. Then for $n>1$ and $1 \leq k \leq n-1$, define $\mathrm{Pa}(n, k)=\mathrm{Pa}(n-1, k-1)+\mathrm{Pa}(n-1, k)$. It is convenient to define $\mathrm{Pa}(n, k)=0$ when $k<0$ or $k>n$. We write the nonzero values of $\mathrm{PT}$ in the familiar pyramid shown below.

![](https://cdn.mathpix.com/cropped/2023_12_21_b0415e12b85f62aa86deg-1.jpg?height=420&width=1201&top_left_y=1015&top_left_x=473)

As is well known, $\mathrm{Pa}(n, k)$ gives the number of ways of choosing a committee of $k$ people from a set of $n$ people, so a simple formula for $\mathrm{Pa}(n, k)$ is $\mathrm{Pa}(n, k)=\frac{n !}{k !(n-k) !}$. You may use this formula or the recursive definition above throughout this Power Question.
Consider the parity of each entry: define

$$
\operatorname{PaP}(n, k)= \begin{cases}1 & \text { if } \mathrm{Pa}(n, k) \text { is odd } \\ 0 & \text { if } \mathrm{Pa}(n, k) \text { is even }\end{cases}
$$

Let $j \geq 0$, and suppose $n \geq 2^{j}$. Prove that $\mathrm{Pa}(n, k)$ has the same parity as the sum $\operatorname{Pa}\left(n-2^{j}, k-2^{j}\right)+\operatorname{Pa}\left(n-2^{j}, k\right)$, i.e., either both $\operatorname{Pa}(n, k)$ and the given sum are even, or both are odd.

Solution:
Proceed by induction on $j$. The claim is that $\mathrm{Pa}(n, k) \equiv \mathrm{Pa}\left(n-2^{j}, k-2^{j}\right)+\mathrm{Pa}\left(n-2^{j}, k\right) \bmod 2$. If $j=0$, so that



$2^{j}=1$, then this congruence is exactly the recursive definition of $\mathrm{Pa}(n, k)$ when $0<k<n$. For $k=0$ and $k=n$, the left-hand side is 1 and the right-hand side is either $0+1$ or $1+0$. For other values of $k$, all three terms are zero.

Now, assume $\mathrm{Pa}(n, k) \equiv \operatorname{Pa}\left(n-2^{j}, k-2^{j}\right)+\mathrm{Pa}\left(n-2^{j}, k\right) \bmod 2$ for some $j \geq 0$, and let $n \geq 2^{j+1}$. For any $k$, apply the inductive hypothesis three times:

$$
\begin{aligned}
\operatorname{Pa}(n, k) \equiv & \operatorname{Pa}\left(n-2^{j}, k-2^{j}\right)+\operatorname{Pa}\left(n-2^{j}, k\right) \bmod 2 \\
\equiv & \operatorname{Pa}\left(n-2^{j}-2^{j}, k-2^{j}-2^{j}\right)+\operatorname{Pa}\left(n-2^{j}-2^{j}, k-2^{j}\right) \\
& \quad+\operatorname{Pa}\left(n-2^{j}-2^{j}, k-2^{j}\right)+\operatorname{Pa}\left(n-2^{j}-2^{j}, k\right)
\end{aligned}
$$

But $u+u \equiv 0 \bmod 2$ for any integer $u$. Thus the two occurrences of $\mathrm{Pa}\left(n-2^{j}-2^{j}, k-2^{j}\right)$ cancel each other out, and

$$
\begin{aligned}
\operatorname{Pa}(n, k) & \equiv \operatorname{Pa}\left(n-2^{j}-2^{j}, k-2^{j}-2^{j}\right)+\operatorname{Pa}\left(n-2^{j}-2^{j}, k\right) \\
& \equiv \operatorname{Pa}\left(n-2^{j+1}, k-2^{j+1}\right)+\operatorname{Pa}\left(n-2^{j+1}, k\right) \bmod 2 .
\end{aligned}
$$

Final answer: 证明题，略