Maths Olympiad Prep

Library / /101 of 104

Algebra Difficulty 7.2 National Olympiad, round 2 Prove it Bulgaria

Problem:
Let kk be an integer, 1<k<1001 < k < 100. For every permutation a1,a2,,a100a_{1}, a_{2}, \ldots, a_{100} of the integers 1,2,,1001, 2, \ldots, 100, set a101=0a_{101} = 0 and choose the least integer m>km > k such that ama_{m} is less than at least k1k-1 of the numbers a1,a2,,aka_{1}, a_{2}, \ldots, a_{k}. Find all kk for which the number of permutations with am=1a_{m} = 1, is equal to 100!4\frac{100!}{4}.
Peter Boyvalenkov, Emil Kolev, Nikolai Nikolov

Solution

Solution:
Consider the more general problem for n+1n+1 numbers instead of 100100 and denote by pk,n+1p_{k, n+1} the probability that ama_{m} be equal to 11. If 11 is not the last number of a permutation of the positive integers 1,2,,n+11, 2, \ldots, n+1, then am=1a_{m} = 1 with probability pk,np_{k, n} (we assume that pn,n=0p_{n, n} = 0). Otherwise, am=1a_{m} = 1 only if 22 and 33 are among the first kk numbers of the permutation. Then
pk,n+1=nn+1pk,n+1n+1knk1n1 p_{k, n+1} = \frac{n}{n+1} p_{k, n} + \frac{1}{n+1} \cdot \frac{k}{n} \cdot \frac{k-1}{n-1}
and hence
(n+1)pk,n+1=j=kn((j+1)pk,j+1jpk,j)=k(k1)j=kn1j(j1)=k(n+1k)n \begin{aligned} & (n+1) p_{k, n+1} = \sum_{j=k}^{n} \left((j+1) p_{k, j+1} - j p_{k, j}\right) \\ & = k(k-1) \sum_{j=k}^{n} \frac{1}{j(j-1)} = \frac{k(n+1-k)}{n} \end{aligned}
It follows that pk,n=k(nk)n(n1)p_{k, n} = \frac{k(n-k)}{n(n-1)} and therefore pk,100=14p_{k, 100} = \frac{1}{4} for k=45k = 45 and k=55k = 55.

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.