2025 AIME I Problem 15
Problem 15 of 15HarderNumber TheoryCombinatorics
Let denote the number of ordered triples of positive integers such that and is a multiple of Find the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
Since the cube of modulo depends only on and each residue occurs exactly once in Moreover, the only cube roots of modulo are which all agree modulo hence cubing is a bijection from the units modulo onto the set of unit cubes modulo which is exactly the set of units If all three of and are prime to (or exactly one is), then modulo the sum of cubes is or never no solutions.
Exactly one multiple of say for each of the units and choices of the requirement has a right side that is a unit hence has exactly one solution modulo With choices for which variable is the multiple of this case gives triples.
All three multiples of writing etc. with and ranging modulo the condition becomes which depends only on the residues modulo so the count is times the count modulo Repeating the same analysis one level down: the two-unit case gives and the all-divisible case reduces to with and modulo giving that is triples modulo hence here. In total whose remainder modulo is
Tagged: modular arithmetic · perfect power · recursive counting