Skip to main content
OlympiadHQ

Browse · MathNet

Print

VMO

Vietnam number theory

Problem

Find the number of ordered 6-tuples satisfying the following system of modular equations with .
Solution
For any integer , let be the number of ordered 6-tuple that satisfy and . By the Chinese Remainder Theorem, Therefore, in order to compute , we only need to compute and . We will compute for any prime. Fix a solution of the equation , we compute the number of solutions of the following system We consider three cases

Suppose that for any . Then the system (1) has a unique solution Suppose that for some . Then the system (1) has no solution. * Suppose that . Then the system (1) becomes a single equation . Since , we can assume that . Hence, for any choice of , we have only one choice of . This implies that the system (1) has exactly solutions.

Let be the number of ordered tuples that satisfy and . For any pair , there are exactly pairs satisfy the equation. Hence, .

Let be the number of ordered pairs that satisfy and . From the above arguments, we have It is easy to get , which implies that and .

Therefore, the number of ordered 6-tuple satisfying the given conditions is 3472. ☐
Final answer
3472

Techniques

Chinese remainder theoremQuadratic residues