MathDB
Number of good permutations

Source: 2022 Bulgarian Spring Math Competition, Problem 10.3

March 27, 2022
combinatoricsPermutations with restrictions

Problem Statement

A permutation σ\sigma of the numbers 1,2,,101,2,\ldots , 10 is called <spanclass=latexitalic>bad</span><span class='latex-italic'>bad</span> if there exist integers i,j,ki, j, k which satisfy 1 \leq i < j < k \leq 10   \text{ and }  \sigma(j) < \sigma(k) < \sigma(i) and <spanclass=latexitalic>good</span><span class='latex-italic'>good</span> otherwise. Find the number of <spanclass=latexitalic>good</span><span class='latex-italic'>good</span> permutations.