How many numbers between 1 and 100 (inclusive) are divisible by 3 or 4?

Please tell me a formula through which i can solve such questions. Also like to calculate numbers which overlap like in this example numbers like 12 etc.

1 Answer
Feb 28, 2018

33 numbers divisible by 3
25 numbers divisible by 4

Explanation:

To solve this
You divide 100 by 3, you will get #33 1/3#
You then round the number down, you will get 33, so 33 numbers in 100 are divisible by 3
You divide 100 by 4, you will get 25
So 25 numbers of 100 is divisible by 4

The formula is just the maximum number in the range divide by the value. Remember to round down if the number is not a whole number.