MathLabs

Problem 5

Let nn be a positive integer. A Japanese triangle consists of 1+2+⋯+n1+2+\cdots+n circles arranged in an equilateral triangular shape such that for each i=1,2,…,ni=1,2,\ldots,n, the ii-th row contains exactly ii circles, exactly one of which is colored red. A ninja path in a Japanese triangle is a sequence of nn circles obtained by starting in the top row, then repeatedly going from a circle to one of the two circles immediately below it, and finishing in the bottom row. In terms of nn, find the greatest kk such that in each Japanese triangle there is a ninja path containing at least kk red circles.
Step 4 of 5: A pigeonhole recurrence for the row totals
In plain words

Summing the best-path counts across an entire row and comparing it with the next row shows the total must grow noticeably faster than linearly, because the largest single value in a row is, by pigeonhole, already a sizable fraction of the row's total.

Sj=∑i=0jf(i,j),Sj+1≥Sj+⌈Sjj⌉+1S_j=\sum_{i=0}^{j}f(i,j),\qquad S_{j+1}\ge S_j+\left\lceil\dfrac{S_j}{j}\right\rceil+1
Detailed analysis

Let Sj=∑i=0jf(i,j)S_j=\sum_{i=0}^jf(i,j). By pigeonhole, some entry f(m,j)f(m,j) in row jj is at least the average Sj/(j+1)S_j/(j+1), and reusing this maximal entry when forming its contributions to row j+1j+1 (through both branches leading into it, together with the mandatory +1+1 from row j+1j+1's own red circle) gives the recurrence Sj+1≥Sj+⌈Sj/j⌉+1S_{j+1}\ge S_j+\left\lceil S_j/j\right\rceil+1.