2021 AIME II Problem 3
Problem 3 of 15EasierNumber TheoryCombinatoricsProblem-Solving Techniques
Find the number of permutations of numbers such that the sum of five products is divisible by
Your answer
Integer from 0 to 999
Show solution
Solution
Work modulo The value is the only multiple of and each of the five products covers three cyclically consecutive positions, so if exactly two products avoid position those covering positions and (indices mod ). Their sum is and since is not divisible by the condition is
Among the remaining values, and are while and are so positions and must take one value from each class: ordered choices. The other two values fill positions and in ways. With choices for the position of the count is
Tagged: modular arithmetic · permutations · casework