MathDB
Children with different heights

Source: Russian TST 2016, Day 13 P2

April 20, 2023
combinatorics

Problem Statement

In a class, there are nn{} children of different heights. Denote by AA{} the number of ways to arrange them all in a row, numbered 1,2,,n1,2,\ldots,n from left to right, so that each person with an odd number is shorter than each of his neighbors. Let BB{} be the number of ways to organize n1n-1 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 A=BA = B.