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 2 of 5: Sum the array by rows
Detailed analysis
Every row is the sum of eleven consecutive terms, so the hypothesis makes every row sum negative. Therefore the total sum of all entries is negative.