MathDB
sequence of numbers +1 and -1 of length n (2018 Auckland MO S5)

Source:

November 15, 2021
algebra

Problem Statement

There is a sequence of numbers +1+1 and āˆ’1-1 of length nn. It is known that the sum of every 1010 neighbouring numbers in the sequence is 00 and that the sum of every 1212 neighbouring numbers in the sequence is not zero. What is the maximal value of nn?