The required number = Number of numbers, which are(divisible by 3 + divisible by 7 - divisible by 21)Numberofnumberdivisibleby3, = [(198−3)3]+1=66Numberofnumberdivisibleby7,=[(196−7)7]+1=28Numberofnumberdivisibleby21,=[(189−21)21]+1=9Thus,thedivisiblevalue=(66+28−9)=85Thus, number of numbers which are not divisible by 3 or 7=200−85=115
The required number = Number of numbers, which are(divisible by 3 + divisible by 7 - divisible by 21)Numberofnumberdivisibleby3, = [(198−3)3]+1=66Numberofnumberdivisibleby7,=[(196−7)7]+1=28Numberofnumberdivisibleby21,=[(189−21)21]+1=9Thus,thedivisiblevalue=(66+28−9)=85Thus, number of numbers which are not divisible by 3 or 7=200−85=115
Post your Comments