I'm having trouble determining this problem.
I need to find the integers in the set {1, ... , 100} that are divisible by 2 or 3 but not both.
The way I tried to approach it was:
If a number is divisible by both 2 and 3 then we can say it is divisible by 6. So we need to exclude integers divisible by 6. From here am I supposed to just go through each integer? Or is there a better way to approach this?
Thanks