How many integers between 1 and 1000 (inclusive) are neither multiples of 2 nor multiples of 5?
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.
There are:
• 1000 ÷ 2 = 500 integers between 1 and 1000 (inclusive), which are divisible by 2;
• 1000 ÷ 5 = 200 integers between 1 and 1000 (inclusive), which are divisible by 5; and
• 1000 ÷ (2 × 5) = 100 (double counted) integers between 1 and 1000 (inclusive), which are divisible by both 2 and 5 .
Now, we can find the number of integers between 1 and 1000 (inclusive), which are both multiples of 2 and multiples of 5 by applying the principles of inclusion - exclusion:
500 + 200 - 100 = 600
Hence, the number of integers between 1 and 1000 (inclusive), which are both multiples of 2 and multiples of 5:
1 0 0 0 − 6 0 0 = 4 0 0
Thanks for the normal explanation.
As 2 and 5 are both factors of 1 0 0 0 , we can work out how many integers between 1 and l c m ( 2 , 5 ) (inclusive) are neither multiples of 2 nor multiples of 5 , and then multiply this result by l c m ( 2 , 5 ) 1 0 0 0 .
l c m ( 2 , 5 ) = 1 0 . The integers between 1 and 1 0 (inclusive) not divisible by 2 or 5 are 1 , 3 , 7 , and 9 . This means there are 4 integers in this range not divisible by 2 or 5 .
We now need to multiply this amount by l c m ( 2 , 5 ) 1 0 0 0 = 1 0 1 0 0 0 = 1 0 0 . This is equal to 4 ∗ 1 0 0 = 4 0 0 .
A good surprise. You used the last digit to count them - it gets quicker, we forgot to use this tip - while the subject was the count of ensembles linked by AND and OR.
1000 (1-1/2) (1-1/5) = 400
count the numbers that arent divisable by 2 or 5 that are between 1 and 10 (you get 4) multiple by 10 to get how many are between 1 and 100 then multiply by 10 again to get between 1 and 1000. Quit complicating things guys!
Integer multiples of 2 within range of 1 to 1000 is half of the number, which is 500. Within the 500 odd numbers remaining, every 5 of them is a multiple of 5, therefore 100 of those numbers are mulitples of 5. This leaves 400 that are odd numbers and not multiples of 5.
Problem Loading...
Note Loading...
Set Loading...
Let M 2 be the set of integers between 1 and 1 0 0 0 (inclusive) that are multiples of 2 .
Let M 5 be the set of integers between 1 and 1 0 0 0 (inclusive) that are multiples of 5 .
The question is asking for ∣ M 2 c ∩ M 5 c ∣ . By De Morgan's Laws , it suffices to find ∣ ( M 2 ∪ M 5 ) c ∣ instead.
∣ M 2 ∣ = 5 0 0
∣ M 5 ∣ = 2 0 0
∣ M 2 ∩ M 5 ∣ = 1 0 0
By PIE , ∣ M 2 ∪ M 5 ∣ = 5 0 0 + 2 0 0 − 1 0 0 = 6 0 0 .
Thus, ∣ ( M 2 ∪ M 5 ) c ∣ = 1 0 0 0 − 6 0 0 = 4 0 0 .
The number of integers between 1 and 1 0 0 0 that are neither multiples of 2 nor multiples of 5 is 4 0 0 .