Problem

Source: China ningbo ,13 Aug 2013

Tags: modular arithmetic, combinatorics proposed, combinatorics



Let $S$ be a subset of $\{0,1,2,\ldots,98 \}$ with exactly $m\geq 3$ (distinct) elements, such that for any $x,y\in S$ there exists $z\in S$ satisfying $x+y \equiv 2z \pmod{99}$. Determine all possible values of $m$.