Problem

Source: CentroAmerican & Caribbean MO 1999 Q6

Tags: floor function, induction, combinatorics proposed, combinatorics



Denote $S$ as the subset of $\{1,2,3,\dots,1000\}$ with the property that none of the sums of two different elements in $S$ is in $S$. Find the maximum number of elements in $S$.