{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Let $S$ be the increasing sequence of positive integers whose binary representation has exactly $6$ ones. Let $N$ be the 500th number in $S$. Find the remainder when $N$ is divided by $1000$.
Numbers with $6$ ones and at most $k$ bits: $\binom k6$.
Since $\binom{11}6=462<500\le\binom{12}6=924$, $N$ has $12$ bits: $N=2^{11}+M$ where $M$ is the $38$th number with $5$ ones; continuing the same way gives $N=100011001011_2=2251$.