HMMT 十一月 2022 · 冲刺赛 · 第 19 题
HMMT November 2022 — Guts Round — Problem 19
题目详情
英文原题
- [11] Define the annoyingness of a permutation of the first n integers to be the minimum number of copiesof the permutation that are needed to be placed next to each other so that the subsequence 1 , 2 , . . . , nappears. For instance, the annoyingness of 3 , 2 , 1 is 3, and the annoyingness of 1 , 3 , 4 , 2 is 2 .
A random permutation of 1 , 2 , . . . , 2022 is selected. Compute the expected value of the annoyingness ofthis permutation.
解析
英文解析
- [11] Define the annoyingness of a permutation of the first n integers to be the minimum number ofcopies of the permutation that are needed to be placed next to each other so that the subsequence
1 , 2 , . . . , n appears. For instance, the annoyingness of 3 , 2 , 1 is 3, and the annoyingness of 1 , 3 , 4 , 2 is 2 .
A random permutation of 1 , 2 , . . . , 2022 is selected. Compute the expected value of the annoyingnessof this permutation.
Proposed by: Vidur Jasuja
2023
Answer:
Solution: For a given permutation p , . . . , p , let f ( p ) be the smallest number of copies of p that 2
1 n kneed to be placed next to each other to have 1 , . . . , k appear as a subsequence. We are interested infinding the expectation of f ( p ).
Notice that if k appears before k + 1 in p , then f ( p ) = f ( p ). Otherwise, f ( p ) + 1 = f ( p ).nk k +1 k k +1
Since f ( p ) is always 1, this tells us that f ( p ) is equal to 1 plus the number of values of k that exist
1 nsuch that k + 1 appears before k . But for any such k , this occurs with probability 1 / 2. By linearity of
2023
expectation, the answer is 1 + 2021 / 2 = . 2