Find the smallest natural number \(n\) such that for all sets \(A:=\{a_1,a_2,...,a_n\}\) there exists a set \(B:=\{b_1,b_2,...,b_{2014}\}\) with \(B\subseteq A\) and \(\sum_{i=1}^{2014}b_i\equiv 0\pmod{2014}\).

Excel in math and science

Master concepts by solving fun, challenging problems.

It's hard to learn from lectures and videos

Learn more effectively through short, interactive explorations.

Used and loved by over 5 million people

Learn from a vibrant community of students and enthusiasts,
including olympiad champions, researchers, and professionals.

Your answer seems reasonable.
Find out if you're right!