Maths Olympiad Prep

Library / /21 of 91

, 2007

Combinatorics Difficulty 5.4 AIME, harder Prove it India

Let XX be the set of all bijective functions from the set S={1,2,3,...,n}S = \{1, 2, 3, ..., n\} to itself. For each fXf \in X, define
Tf(j)={1,if f(12)(j)=j,0,otherwise. T_f(j) = \begin{cases} 1, & \text{if } f^{(12)}(j) = j, \\ 0, & \text{otherwise.} \end{cases}

Determine
fXj=1nTf(j). \sum_{f \in X} \sum_{j=1}^{n} T_f(j).
(Here f(k)(x)=f(f(k1)(x))f^{(k)}(x) = f(f^{(k-1)}(x)) for k2k \ge 2.)

Solution

Suppose n12n \ge 12. The elements of XX are permutations of {1,2,3,...,n}\{1, 2, 3, ..., n\}. If jj belongs to a kk-cycle of ff, where kk is a divisor of 1212, then f(k)(j)=jf^{(k)}(j) = j. The number of divisors of 1212 is 66. Let m(j,k)m(j,k) be the number of elements ff of TT in which jj belongs to a kk-cycle of ff, 1jn1 \le j \le n. Then
m(j,k)=(n1)(n2)(nk+1)(nk)!=(n1)! m(j,k) = (n-1)(n-2)\cdots(n-k+1)(n-k)! = (n-1)!
The required sum is, therefore, n(n1)!×8=6(n!)n(n-1)! \times 8 = 6(n!) If n<12n < 12, the answer is t(n)(n!)t(n)(n!), where t(n)t(n) is the number of positive divisors of 1212 which are less than or equal to nn. Thus, they are 1,2(2!),3(3!),4(4!),4(5!),5(6!),5(7!),5(8!),5(9!),5(10!),5(11!)1, 2(2!), 3(3!), 4(4!), 4(5!), 5(6!), 5(7!), 5(8!), 5(9!), 5(10!), 5(11!).

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.