To solve this problem, we need to find all the positive integers up to 100 that are multiples of 2 or 3 but not multiples of 4.
First, let's find the multiples of 2 up to 100:
2, 4, 6, 8, 10, ..., 98, 100.
However, every multiple of 4 is also a multiple of 2, and we need to exclude those. Therefore, we only consider the even numbers that are not divisible by 4. These are the even numbers that are not multiples of 4:
2, 6, 10, ..., 98.
To find these numbers, we need to count every other even number, starting from 2 and ending at 98. To do this, we can calculate the number of even numbers from 1 to 100 (which is 50), and then subtract the number of multiples of 4 (which is also every other even number).
The multiples of 4 up to 100 are:
4, 8, 12, ..., 96, 100.
There are 100/4 = 25 multiples of 4 up to 100.
Now, we subtract the number of multiples of 4 from the total number of even numbers:
50 (even numbers) - 25 (multiples of 4) = 25.
So, there are 25 positive integers up to 100 that are multiples of 2 but not multiples of 4.
Next, let's find the multiples of 3 up to 100 that are not multiples of 4:
3, 6, 9, ..., 99.
But remember, we've already counted the number 6 when we were counting the even numbers not divisible by 4. To avoid counting it twice, we only consider the multiples of 3 that are not even (since all even multiples of 3 are also multiples of 2, and we've already considered those). So, we need to count every other multiple of 3, starting from 3 and ending at 99.
The multiples of 3 that are not multiples of 4 and not even are:
3, 9, 15, ..., 99.
The nth multiple of 3 is 3n, and to find the last one not exceeding 100, we solve for n:
3n ≤ 100
n ≤ 100/3
n ≤ 33.33
Since n must be an integer, n = 33. However, since we're counting every other multiple of 3, we need to divide this by 2:
33/2 = 16.5
Since n must be an integer, we take the floor of 16.5, which is 16.
So, there are 16 odd multiples of 3 up to 100 that are not multiples of 4.
Adding the numbers together:
25 (even multiples of 2, not multiples of 4) + 16 (odd multiples of 3, not multiples of 4) = 41.
Therefore, there are 41 positive integers up to 100 that are multiples of 2 or 3 but not multiples of 4.