How many positive integers, not exceeding 100, are multiples of 2 or 3 but not 4 or 5?
Multiples of 2
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100
So
Multiples of 2 that are not also multiples of 4 or 5 are
2 6 14 18 22 26 34 38 42 46 54 58 62 66 74 78 82 86 94 98
Multiples of 3
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75
78 81 84 87 90 93 96 99
So
Multiples of 3 that are not also multiples of 4 or 5
3 6 18 21 27 33 39 42 51 54 57 63 66 69 78 81 87 93 99
So multiples of 2 or 3 that are not also multiples of 4 or 5 are
2 3 6 9 14 18 21 22 26 27 33 34 38 39 42 46 51 54 57 58 62 63 66 69 74 78 81 82 86 87
93 94 98 99
So....34 ( if I counted correctly)