Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Mathematical Competition

China counting and probability

Problem

The number of positive integer solutions of equation with is ________.
Solution
It is easy to find that the number of positive integer solutions of is . We now classify these solutions into three categories:

(1) , the number in this category is obviously 1;

(2) there are exactly two that are equal among — the number in this category is 1003;

(3) are different from each other — suppose the number in this category is . From we have We get . Therefore, the number of positive integer solutions satisfying is
Final answer
336675

Techniques

Enumeration with symmetryCounting two waysRecursion, bijection