How many numbers between 1 and 100 are not divisible by 2 or 3?
My real question is: How many numbers are between 1 and 100?
I figured that there are 49 numbers divisible by 2 [(98-2)/2+1] and
33 numbers divisible by 3 [(99-3)/3+1].
There are 16 numbers divisible by 6 [(96-6)/6+1)]
Hence, 49+33-16= 66 numbers that are divisible by 2 or 3.
Now the trick for me is do I make 99-66=33 or 98-66=32?
I would say there are 98 numbers between 1 and 100 because it does not say "inclusive".
However, in most of suggested answers it says 99 numbers.
Could anyone please explain?
Thanks,
Tamir
My real question is: How many numbers are between 1 and 100?
I figured that there are 49 numbers divisible by 2 [(98-2)/2+1] and
33 numbers divisible by 3 [(99-3)/3+1].
There are 16 numbers divisible by 6 [(96-6)/6+1)]
Hence, 49+33-16= 66 numbers that are divisible by 2 or 3.
Now the trick for me is do I make 99-66=33 or 98-66=32?
I would say there are 98 numbers between 1 and 100 because it does not say "inclusive".
However, in most of suggested answers it says 99 numbers.
Could anyone please explain?
Thanks,
Tamir













