Menu Close

of-the-integers-101-to-400-including-101-and-400-themselves-how-many-are-not-divisible-by-3-or-5-




Question Number 154301 by joki last updated on 16/Sep/21
of the integers 101 to 400 (including 101 and 400   themselves) how many are not divisible by 3 or 5?
oftheintegers101to400(including101and400themselves)howmanyarenotdivisibleby3or5?
Answered by mr W last updated on 16/Sep/21
400−100=300 numbers  divisible by 3: ⌊((400)/3)⌋−⌊((100)/3)⌋=100  divisible by 5: ⌊((400)/5)⌋−⌊((100)/5)⌋=60  divisible by 15: ⌊((400)/(15))⌋−⌊((100)/(15))⌋=20  ⇒300−100−60+20=160
400100=300numbersdivisibleby3:40031003=100divisibleby5:40051005=60divisibleby15:4001510015=2030010060+20=160

Leave a Reply

Your email address will not be published. Required fields are marked *