Problem:
Let . For any function and any define , , . Find the number of the functions such that is a constant function but is not.
Solution
Solution:
Define an oriented graph with vertices the elements of and oriented edge if . We have to count the graphs such that:
- there are no cycles with length greater than ;
- there is a chain with length and there is no chain with length ;
- the only edge outside this chain has the form , where ;
- there is a unique loop .
The chain can be chosen in ways, and the edge outside it - in ways. Note that the graphs for which this edge is , are counted two times and hence their number is equal to . So the answer of the problem is
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.