SOLUTION: How many numbers between 1 and 100 (inclusive) are divisible by 5 or 8?

Algebra.Com
Question 1082552: How many numbers between 1 and 100 (inclusive) are divisible by 5 or 8?

Answer by Edwin McCravy(20059)   (Show Source): You can put this solution on YOUR website!


From the universal set {1,2,...,100},

A = the subset of multiples of 5
B = the subset of multiples of 8
A and B = the subset of multiples of both 5 and 8, i.e., 
multiples of 40

N(A or B) = N(A) + N(B) - N(A and B)

There are 100/5 = 20 multiples of 5, so N(A) = 20

There are 100/8 = 12.5, round down to 12 multiples of 8, 
so N(B) = 12

There are 100/40 = 2.5, round down to 2 multiples of 40, 
so N(A and B) = 2

N(A or B) = N(A) + N(B) - N(A and B) = 20 + 12 - 2 = 30

Edwin

RELATED QUESTIONS

how many integers between 1 and 2012,inclusive, are divisible by neither 3 nor... (answered by Edwin McCravy)
How many numbers are there between 20 and 100 which are divisible by... (answered by KMST)
How many numbers between 100 and 1000 are Not divisible by 2 Not divisible by 3 Not... (answered by ikleyn)
Please show me how to solve this problem " how many numbers are there between 1 and 150 (answered by mathmate)
Between 1 and 100, how many are divisible by both 3 and... (answered by JulietG)
How many numbers between 100 and 1000 are not divisible by 2 and 3.not divisible by... (answered by ikleyn)
how many numbers between 0 and 100 are divisible by 3 but not by... (answered by solver91311,MathTherapy)
How many whole numbers between 0 and 100 are divisible by both 2 and... (answered by SandySharma)
how many numbers between 100 and 300 are divisible by... (answered by ikleyn)