Problem:
Compute the number of even positive integers such that can be split into pairs, and the sum of the numbers in each pair is a multiple of .
Problem:
Compute the number of even positive integers such that can be split into pairs, and the sum of the numbers in each pair is a multiple of .
Solution:
There have to be an even number of multiples of at most , so this means that . (We can also say that there should be an equal number of and numbers, which gives the same restriction.)
We claim that all these work. We know there are an even number of multiples of , so we can pair them; then we can pair and for all .
This means the answer is .