Let be integers, , and be different non-empty subsets of (not necessarily disjoint from one another). A function is called nice if and only if there exists an index such that
Prove that the number of nice functions is at least .
Let be integers, , and be different non-empty subsets of (not necessarily disjoint from one another). A function is called nice if and only if there exists an index such that
Prove that the number of nice functions is at least .
For and any function with domain , let us define ; then is nice is equivalent to saying that attains its maximum at a unique index .
Let be the set of all functions ; note that . Now, for each , take any index maximizing , and define
If we can show that (1) is nice and (2) the are all distinct, then this proves that there are at least nice functions.
(1) ** is nice** Note that holds for all . Let us show that attains its maximum at the unique index : take any . Note that we must have (otherwise , contradicting the maximality of ), and this implies , so
Thus attains its maximum at the unique index , that is, is nice.
(2) **The are all distinct** Note that the previous part shows that is the unique maximum, so we have
This shows that and are in one-to-one correspondence, hence the are all distinct.