CombinatoricsDifficulty 7.2National olympiad, round 2Prove itCzech-Polish-Slovak Mathematical Match
For a positive integer n, an n-configuration is a family of sets ⟨Ai,j⟩1≤i,j≤n. An n-configuration is called sweet if for every pair of indices (i,j) with 1≤i≤n−1 and 1≤j≤n we have Ai,j⊆Ai+1,j and Aj,i⊆Aj,i+1. Let f(n,k) denote the number of sweet n-configurations such that An,n⊆{1,2,…,k}. Determine which number is larger: f(2024,20242) or f(20242,2024).
Solution
Consider a sweet n-configuration ⟨Ai,j⟩1≤i,j≤n with An,n⊂{1,2,…,k}. For any x∈{1,2,…,k} and i∈{1,2,…,n} define px(i)=∣{j:x∈Ai,j}∣. Since Ai,j⊆Ai,j+1 for all suitable i,j, the set {j:x∈Ai,j} consists of px(i) largest elements of {1,2,…,n}. Since Ai,j⊆Ai+1,j for all suitable i,j, the function px:{1,2,…,n}→{0,1,2,…,n} is nondecreasing. Therefore every sweet n-configuration determines a family ⟨px⟩1≤x≤k of nondecreasing functions px:{1,2,…,n}→{0,1,…,n}. Conversely, every such a family determines a sweet n-configuration ⟨Ai,j⟩1≤i,j≤n with An,n⊂{1,2,…,k} in the following way: Ai,j={x∈{1,2,…,k}:j≥n+1−px(i)}. Therefore f(n,k)=g(n)k where g(n) is the number of nondecreasing functions p:{1,2,…,n}→{0,1,…,n}.
Using the stars-and-bars method, there is a bijection between the family of nondecreasing functions p:{1,2,…,n}→{0,1,…,n} and the set of sequences consisting of n stars and n bars. The bijection is given by p→p(1)∗∗⋯∗∣p(2)−p(1)∗∗⋯∗∣p(3)−p(2)∗∗⋯∗∣…∣p(n)−p(n−1)∗∗⋯∗∣n−p(n)∗∗⋯∗ Thus g(n)=(n2n).
The problem boils down to determining which of the numbers (n2n)n2,(n22n2)n, where n=2024, is larger. Note that (n22n2)=∏i=1n2i∏i=1n2(n2+i)=i=1∏n2(in2+i)=j=0∏n−1i=1∏njn+in2+jn+i>j=0∏n−1(jn+nn2+jn+n)n==j=0∏n−1(j+1n+j+1)n=(j=1∏njn+j)n=((n2n))n and therefore (n22n2)n>(n2n)n2.
Remark: A sketch of a slightly different way of thinking about f(n,k)=(n2n)k: Consider an n×n table. In a cell with coordinates (i,j), list all the elements of the set Ai,j. Fix an element x∈{1,…,k} and consider the cells that contain the number x. By the condition, those cells form a region closed under making a step right and making a step up. Such regions are delimited by grid paths that start at [0,n], end at [n,0], and only steps right or down. There are (n2n) possible paths for each x, thus f(n,k)=(n2n)k.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic and difficulty added by this site.