Problem:
Suppose that and are integers with and such that divides . What is the number of possible values of ?
Problem:
Suppose that and are integers with and such that divides . What is the number of possible values of ?
Solution:
Answer:
If is even, , so we can cover all odd .
If is even and , then must be odd, so is even, and cannot be divisible by or any prime congruent to . Conversely, if has all factors , then by CRT there exists such that (note is odd).
So the only bad numbers take the form , where is divisible by at least one of We count (there are numbers here), (another four), (another four), giving a final answer of .