Take a test Sign in 中文
← Exercise 887 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 887
For positive integers $n<105$, let $a_n=3$ if $n$ is divisible by $5$ and $7$; $a_n=5$ if $n$ is divisible by $3$ and $7$; $a_n=7$ if $n$ is divisible by $3$ and $5$; and $a_n=0$ otherwise. What is $\sum_{n=1}^{104}a_n$?
← Back to Problem 887
Solution
  1. Since $3\cdot5\cdot7=105$, no $n<105$ is in two cases.
  2. Multiples of $35$: $2$; of $21$: $4$; of $15$: $6$.
  3. The sum is $3\cdot2+5\cdot4+7\cdot6=\boxed{68}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year