Problem 5
Find a sequence of maximal length consisting of non-zero integers in which the sum of any seven consecutive terms is positive and that of any eleven consecutive terms is negative.
Step 3 of 5: Sum the same array by columns
Detailed analysis
Every column is the sum of seven consecutive terms, so the hypothesis makes every column sum positive. The same total must therefore be positive, contradicting the preceding step. Hence no valid sequence has length greater than .