Problem

Source: China south east mathematical Olympiad 2007 problem 4

Tags: pigeonhole principle, symmetry, combinatorics unsolved, combinatorics



A sequence of positive integers with $n$ terms satisfies $\sum_{i=1}^{n} a_i=2007$. Find the least positive integer $n$ such that there exist some consecutive terms in the sequence with their sum equal to $30$.