2026 AIME I Problem 7
Problem 7 of 15IntermediateCombinatoricsProblem-Solving Techniques
Find the number of functions mapping the set onto such that for every
Your answer
Integer from 0 to 999
Show solution
Solution
A function from a finite set onto itself is a bijection, so is a permutation of six elements, and the condition says is the identity. A permutation satisfies exactly when every cycle in its cycle decomposition has length dividing Among the possible lengths through only and fail to divide
We subtract the permutations containing a -cycle or a -cycle from Cycle type gives type gives and type gives for excluded permutations.
The count is
Tagged: permutations · complementary counting · casework