Take a test Sign in 中文
← Exercise 381 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Basic Counting (90)
---- (44)
Probability (91)

Exercises and their solutions

Exercise 381
Find the number of functions $f(x)$ from $\{1, 2, 3, 4, 5, 6\}$ to $\{1, 2, 3, 4, 5, 6\}$ that satisfy $f(f(x)) = f(f(f(x)))$ for all $x$ in $\{1, 2, 3, 4, 5, 6\}$. Find the remainder when this number is divided by $1000$.
← Back to Problem 381
Solution
  1. The condition says every element reaches a fixed point within two steps.
  2. Classify by the set of fixed points, the elements mapping directly to them, and the elements two steps away (as in the original problem); summing gives $6607$ functions, remainder $607$.
  3. The answer is $\boxed{607}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1985 (1 problems)
1984 (1 problems)