[Paper Review] Odd Entries in Pascal's Trinomial Triangle
This paper investigates the number of odd coefficients in Pascal’s trinomial triangle, defined as $ g(n) $, the count of odd entries in $ (1+x+x^2)^n $. Using Moshe’s algorithm and Lyapunov exponent analysis of random matrix products, the authors derive asymptotic growth rates for $ \mathop{\mathrm{E}}(\ln g(N)) $ and $ \ln \mathop{\mathrm{E}}(g(N)) $, establishing that $ \frac{\ln \mathop{\mathrm{E}}(g(N))}{\ln n} \to \frac{\ln \xi}{\ln 2} $ with $ \xi \approx 2.813 $, and confirm a conjecture on the Lyapunov exponent via a reworded matrix product formulation.
The nth row of Pascal's trinomial triangle gives coefficients of (1+x+x^2)^n. Let g(n) denote the number of such coefficients that are odd. We review Moshe's algorithm for evaluating asymptotics of g(n) -- this involves computing the Lyapunov exponent for certain 2x2 random matrix products -- and then analyze further examples with more terms and higher powers of x.
Motivation & Objective
- To analyze the asymptotic behavior of the number of odd coefficients in the expansion of $ (1+x+x^2)^n $, denoted $ g(n) $.
- To extend Moshe’s algorithm for computing Lyapunov exponents in random matrix products to trinomial and higher-order cases.
- To derive precise asymptotic growth rates for $ \mathop{\mathrm{E}}(\ln g(N)) $ and $ \ln \mathop{\mathrm{E}}(g(N)) $, generalizing known results from binomial to trinomial coefficients.
- To prove a conjecture on the Lyapunov exponent for the trinomial case using a reworded matrix product formulation with three distinct matrices.
Proposed method
- Apply Moshe’s algorithm to compute $ g(n) $ via matrix products $ D_{n_{k-1}} D_{n_{k-2}} \cdots D_{n_0} $, where $ D_s $ are $ 3 \times 3 $ matrices derived from the trinomial triangle modulo 2.
- Define $ D_s(i,j) = \#\{ t : B_j^{s,t} = A_i \} $, where $ B_j^{s,t} $ are vectors extracted from the trinomial triangle entries at even-odd positions.
- Use the formula $ g(n) = w^T D_{n_{k-1}} \cdots D_{n_0} e_0 $, with $ w $ and $ e_0 $ as weight and indicator vectors, to compute $ g(n) $ recursively.
- Analyze the growth of $ \mathop{\mathrm{E}}(g(N)) $ via the spectral radius of $ D_0 + D_1 $, leading to $ \frac{\ln \mathop{\mathrm{E}}(g(N))}{\ln n} \to \frac{\ln \xi}{\ln 2} $ with $ \xi \approx 2.813 $.
- Rewrite the matrix product using $ \tilde{D}_j = D_1 D_0^j $, reducing the system to three matrices with probabilities $ 1/2, 1/4, 1/4 $, enabling Lyapunov exponent computation.
- Compute the Lyapunov exponent as $ \lambda = \frac{1}{2} \sum_{i,j} \sum_k p_i p_j q^k \ln(\beta_j^T M^k \alpha_i) $, and verify $ \lambda / \ln 2 = 1 $, confirming the conjecture.
Experimental results
Research questions
- RQ1What is the asymptotic growth rate of $ \mathop{\mathrm{E}}(\ln g(N)) $, the expected logarithm of the number of odd coefficients in $ (1+x+x^2)^n $?
- RQ2What is the asymptotic growth rate of $ \ln \mathop{\mathrm{E}}(g(N)) $, the logarithm of the expected number of odd coefficients?
- RQ3How does the Lyapunov exponent for the random matrix product associated with trinomial coefficients compare to that of binomial coefficients?
- RQ4Can the conjectured value of the Lyapunov exponent for the trinomial case be rigorously proven using a reworded matrix product formulation?
- RQ5Is the distribution of binary 1s in $ 3k $, $ 3k+1 $, and $ 3k+2 $ independent of the ternary residue class?
Key findings
- The asymptotic growth rate of $ \ln \mathop{\mathrm{E}}(g(N)) $ satisfies $ \frac{\ln \mathop{\mathrm{E}}(g(N))}{\ln n} \to \frac{\ln \xi}{\ln 2} $, where $ \xi \approx 2.813 $ is the real root of $ \xi^3 - 2\xi^2 - 3\xi + 2 = 0 $.
- The asymptotic growth rate of $ \mathop{\mathrm{E}}(\ln g(N)) $ satisfies $ \frac{\mathop{\mathrm{E}}(\ln g(N))}{\ln n} \to \frac{1}{2} $, analogous to the binomial case.
- The Lyapunov exponent $ \lambda $ for the trinomial matrix product is confirmed to satisfy $ \lambda / \ln 2 = 1 $, proving the conjecture via a reworded matrix product with three matrices and proper weighting.
- The sum $ \sum_{k=0}^{\lfloor n/3 \rfloor} \#(3k) \sim \frac{1}{2\ln 2} \cdot \frac{n}{3} \ln n $, where $ \#(n) $ is the number of 1s in the binary expansion of $ n $, is established as a corollary.
- The results imply that the average number of 1s in binary expansions is asymptotically independent of the ternary residue class modulo 3.
- The matrix formulation reduces the problem to a product of three rank-1 and one rank-2 matrix, enabling exact computation of the Lyapunov exponent via a series involving $ M^k $.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.