2021 Fall AMC 12A Problem 25
Problem 25 of 25HarderAlgebraNumber Theory
Let be an odd integer, and let denote the number of quadruples of distinct integers with for all such that divides There is a polynomial such that for all odd integers What is
Answer choices
Show solution
Solution
Regard as all residues modulo Without the distinctness condition, the first three entries are arbitrary and the fourth is determined, giving ordered quadruples.
Inclusion-exclusion over equal-coordinate partitions gives the remaining terms. There are choices of one equal pair, each leaving solutions, for The two-pair partitions contribute The triple-and-single partitions have inclusion-exclusion coefficient and contribute Finally, the all-equal partition has coefficient and one solution. (Here odd makes and invertible modulo ) Therefore Hence
Thus, the correct answer is E.