How many integers between 100 and 500 are divisible by 7 but not 21?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We check for multiples of 7,
1 0 5 , 1 1 2 , ⋯ , 4 9 0 , 4 9 7
Using formula for n th term of an AP, the number of these multiples are
n 1 = 1 + 7 4 9 7 − 1 0 5 = 5 7
Checking for multiples of 21,
1 0 5 , 1 2 6 , ⋯ , 4 6 2 , 4 8 3
The number of these multiples are
n 2 = 1 + 2 1 4 8 3 − 1 0 5 = 1 9
Since all the multiples of 21 are also included in the set of multiples of and we only want those multiples of 7 which are not multiples of 21 so our required answer is n 1 − n 2 = 3 8 .