How many two digit numbers are divisible by either 3 or 5? @satellite73
usually in math "or" means one or the other or both
this is not such a big number that you cannot just count them
if you divide 99 by 3 you get 33, so 33 numbers divisible by 3 if you divide 99 by 5 you get 19.5 so 19 are divisible by 5 but you don't want to count the numbers divisible by both twice, so we have to subtract them off
the numbers divisible by both 3 and 5 are multiples of 15 lets just list them 15 30 45 60 75 90 i count 6 of them
|\[|A \cup B| = |A| + |B| - |A \cap B|\]
my guess therefore is \[33+19-6\]
well the question asks for two digits number.
oh so it does guess we have to subtract off some more
30 + 18 - 6 = 42
3, 5, 6, 9
there are 90 two digit numbers. multiples of 3 happen once per every 3 numbers. 1/3 multiples of 5 happen once per every 5 numbers. 1/5 multiples of 3 and 5 happen once per every 15 numbers. 1/15 (90/3)+(90/5)-(90/15)=number of 2-digit numbers divisible by 3 or 5 (inclusive OR)
is that the same as \(33+19-6-4\)?
How did u get 18 though? @sourwing is it because it isn't a whole number yet (19.5)?
I counted
But what do u count?
from 10 to 99 that are divisible by 5
Is there any other way to count faster from 10-99 that r divisible by 5?
the floor of 99/5 - 1 because 5 isn't 2 digits
Thanks all of you :)
They way I've done it completely disregards where the numbers occur. This is possible because 90 is evenly divisible by 3,5, and 15. This means that if you were to "shift" the numbers you're looking at, you will either always gain and lose exactly one number in pairs. For instance, think of all the numbers divisible by 5 between 1 and 10 inclusive (ten numbers in all) There's obviously 5 and 10 in there. But suppose we move up 1 to go from 2 to 11 (inclusive)? Still have 5 and 10, so we're good. How about we scoot up to 5 to 14? Aha! Now if we go from 6 to 15 we have exactly gained and lost a divisor of 5, so as long as it's evenly divisible like this, we don't care where they are!
Join our real-time social learning platform and learn together with your friends!