1 to 500 numbers.. the total number of numbers areddm wrote:attachment
500-1+1 ( inclusive)
500
numbers divisible by 5 are
500/5
100
divisble by 11
500/11
45
divisbile by both
500/ 55 = 9
100 + 45 - 9 = 136
Not sure how u get 127....
If you actually note down the numbers n check there are 10 and not 13 numbers that are divisible by 2 or 3 and not 6 (2,3,4,8,9,10,14,15,16,20)parallel_chase wrote:It has to be 136.
Let simplify the question how many integers from 1-20 inclusive are divisible by 2 or by 3 but not by both.
Total integers = 20-1+1 =20
divisible by 2 = 20/2=10
divisible by 3 = 20/3 = 6
divisible by both i.e. 6 = 20/6 = 3
10+6-3 = 13