Take a test Sign in 中文
← Exercise 515 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 515
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$?
← Back to Problem 515
Solution
  1. The first progression is $4k+1$, ending at $3997$; the second is $7m+3$, ending at $6996$.
  2. Common terms satisfy $x\equiv1\pmod4$ and $x\equiv3\pmod7$, i.e. $x\equiv17\pmod{28}$, with $x\le3997$.
  3. $17+28j\le3997$ gives $j\le142$, so there are $143$ common terms.
  4. So $|S|=2000-143=\boxed{1857}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year