2026 Euclid · Question 10
Problem outline
Call position of a permutation a peak when it lies strictly between its neighbours in position and its entry exceeds both neighbouring entries. Count permutations with exactly one peak, at the specified position: (a) , position ; (b) general , position ; (c) general , position . Give closed forms.
Show answer and methods 1 methods
Answer
(a) . (b) . (c) .
Method 1 Cut into two peak-free blocks
On a fixed set of entries a peak-free permutation first decreases to its minimum and then increases. Choose which of the other entries go to the left; their order and that of the right-hand entries are forced. Thus there are such permutations.
Write for the number with a unique peak at , putting . Split after the first entries, requiring both blocks to be peak-free. Choosing the first block’s entries and ordering both gives permutations.
In any such permutation the only possible global peaks are and ; consecutive positions cannot both be peaks. Conversely every permutation with either one of these peaks alone, or no peaks anywhere, satisfies the block conditions. Subtracting the peak-free permutations gives .
For this gives . For it gives . Setting yields .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)