Problem 5
Let be a positive integer. A Japanese triangle consists of circles arranged in an equilateral triangular shape such that for each , the -th row contains exactly circles, exactly one of which is colored red. A ninja path in a Japanese triangle is a sequence of 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 , find the greatest such that in each Japanese triangle there is a ninja path containing at least red circles.
Step 5 of 5: Solve the recurrence to finish
In plain words
Unrolling the recurrence shows the row total grows by roughly a full unit of average value every time the row index doubles, which is precisely the mechanism that produces a logarithmic guarantee.
Detailed analysis
Writing with , induction on using the recurrence of Step 4 shows (the inductive step splits into whether is a power of or not, both cases closing the induction cleanly). Dividing by , , and since some entry of row is at least the average , that entry is at least . Hence every Japanese triangle has a ninja path with at least red circles, matching the construction of Step 2 and proving .