{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Let $1,5,9,\dots$ and $3,10,17,\dots$ be two arithmetic progressions. The set $S$ is the union of the first $1000$ terms of each sequence. How many distinct numbers are in $S$?