MathLabs

Problem 3

Let A(n)A(n) denote the number of sequences a1≥a2≥⋯≥aka_1\ge a_2\ge\cdots\ge a_k of positive integers for which a1+⋯+ak=na_1+\cdots+a_k=n and each ai+1a_i+1 is a power of two (i=1,2,…,ki=1,2,\ldots,k). Let B(n)B(n) denote the number of sequences b1≥b2≥⋯≥bmb_1\ge b_2\ge\cdots\ge b_m of positive integers for which b1+⋯+bm=nb_1+\cdots+b_m=n and each inequality bj≥2bj+1b_j\ge2b_{j+1} holds (j=1,2,…,m−1j=1,2,\ldots,m-1). Prove that A(n)=B(n)A(n)=B(n) for every positive integer nn.
Step 2 of 4: Column sums form a type-BB sequence
bj=∑i(entry in column j of row i)  ⟹  bj≥2bj+1b_j=\sum_i(\text{entry in column } j \text{ of row } i) \implies b_j\ge2b_{j+1}
Detailed analysis

Let bjb_j be the sum of the entries in column jj of this array. Each column has at least as many entries as the column to its right, and every entry greater than 11 is exactly twice the entry to its right in the same row, so bj≥2bj+1b_j\ge2b_{j+1}: the resulting sequence is type BB. Since both a1+⋯+aka_1+\cdots+a_k and b1+⋯+bmb_1+\cdots+b_m equal the total sum of all array entries, the sequence (bj)(b_j) also sums to nn.