Take a test Sign in 中文
← Exercise 386 →
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 386
Let $A = \{1, 2, 3, 4, 5, 6\}$, and let $N$ be the number of functions $f$ from set $A$ to set $A$ such that $f(f(x))$ is a constant function. Find the remainder when $N$ is divided by $1000$.
← Back to Problem 386
Solution
  1. Let $c$ be the constant value ($6$ choices); then $f(c)=c$.
  2. Choose the nonempty set $S$ of the other elements with $f(x)=c$ ($k$ elements), and map the remaining $5-k$ elements into $S$, giving $\sum_{k=1}^5\binom5kk^{5-k}=196$.
  3. So $N=6\cdot196=1176$, remainder $176$.
  4. The answer is $\boxed{176}$.
Search Go to Prev      Next

Contact Us

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