MathLabs

第5問

0でない整数からなる数列で、任意の7個の連続項の和が正、任意の11個の連続項の和が負となるものの最大長を求めよ。
ステップ 1/5: 17項を仮定して重なり合う配列を作る
a1,…,a17 arranged in 7 rows of 11 consecutive termsa_1,\ldots,a_{17}\text{ arranged in }7\text{ rows of }11\text{ consecutive terms}
詳しい解説

数列が16項を超えるなら、最初の 1717 項を取る。7行を作り、第 ii 行を ai,ai+1,…,ai+10a_i,a_{i+1},\ldots,a_{i+10}(i=1,…,7i=1,\ldots,7)とする。各行は11項のブロックで、各列は7項のブロックである。