Children with different heights
Source: Russian TST 2016, Day 13 P2
April 20, 2023
combinatorics
Problem Statement
In a class, there are children of different heights. Denote by the number of ways to arrange them all in a row, numbered from left to right, so that each person with an odd number is shorter than each of his neighbors. Let be the number of ways to organize badminton games between these children so that everyone plays at most two games with children shorter than himself and at most one game with children taller than himself (the order of the games is not important). Prove that .