Two permutations and are weakly similar if if and only if for all $1\leqslant i \leqslant w\pi[n]={1,2,\dots, n}wt(\pi)w\pi$ contains a pair of disjoint weakly similar sub-permutations (called weak twins) of length . Finally, let denote the minimum of over all permutations of . Clearly, . In this paper we show that $\tfrac n{12}\le wt(n)\le\tfrac n2-\Omega(n^{1/3})$. We also study a variant of this problem. Let us say that , , is an alternating (or up-and-down) sub-permutation of if or . Let be a random permutation selected uniformly from all permutations of . It is known that the length of a longest alternating permutation in is asymptotically almost surely (a.a.s.) close to . We study the maximum length of a pair of disjoint alternating sub-permutations in and show that there are two constants such that a.a.s. . In addition, we show that the alternating shape is the most popular among all permutations of a given length.

生成讲解博客的中文版本

生成AI智能校验的中文版本