MathDB
Number of functions satisfying sum inequality

Source: ISL 2022 C5

July 9, 2023
functioncombinatorics

Problem Statement

Let m,n2m,n \geqslant 2 be integers, let XX be a set with nn elements, and let X1,X2,,XmX_1,X_2,\ldots,X_m be pairwise distinct non-empty, not necessary disjoint subset of XX. A function f ⁣:X{1,2,,n+1}f \colon X \to \{1,2,\ldots,n+1\} is called nice if there exists an index kk such that \sum_{x \in X_k} f(x)>\sum_{x \in X_i} f(x)   \text{for all } i \ne k. Prove that the number of nice functions is at least nnn^n.