For any $k$ element set $\{x_1, x_2, x_3, ... x_k\}$ with $x_i$ positive integers, there is a 6 element subset such that the sum of its elements is divisible by 6. What values can k take?
First I thought to let $x_i = 6m_i + l_i$ with $0\le l_i \le 5 $. Then, without loss of generality, the sum of elements of a 6 element subset would look like:
$$ 6(m_1 + m_2 + m_3 ... + m_6) + (l_1 + l_2 + l_3 ... + l_6) $$
Then I thought to use the pigeonhole principle by seeing what values $(l_1 + l_2 + l_3 ... + l_6)$ could take but it didn't lead anywhere. Any help would be appreciated.