asked 72.9k views
1 vote
4. Find the sum of all the numbers from 100 to 199 that are not divisible by 13.

What is the formula for
this?

asked
User Rfb
by
8.6k points

1 Answer

2 votes

There are 100 numbers in the range 100-199. Find the smallest and largest multiple of 13 in this range. We have

104 = 8•13

195 = 15•13

so there are 15 - 8 + 1 = 8 multiples of 13 between 100 and 199.

Then the sum we want is


\displaystyle \sum_(k=100)^(199) k - \sum_(\ell=8)^(15)13\ell

or equivalently,

(100 + 101 + 102 + … + 199) - 13 (8 + 9 + … + 15)

To compute these sums, recall the following formula:


\displaystyle \sum_(i=1)^n i = 1 + 2 + 3 + \cdots + n = \frac{n(n+1)}2

Then


\displaystyle \sum_(k=100)^(199) k = \sum_(k=1)^(199) k - \sum_(k=1)^(99) k = \frac{199\cdot200}2 - \frac{99\cdot100}2 = 14,950

and


\displaystyle \sum_(\ell=8)^(15) 13\ell = 13 \left(\sum_(\ell=1)^(15) \ell - \sum_(\ell=1)^7 \ell\right) = 13 \left(\frac{15\cdot16}2 - \frac{7\cdot8}2\right) = 1,196

which means the sum we want is 14,950 - 1,196 = 13,754.

answered
User Nwaxgui
by
8.4k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.