How many choices for $(f,g)$ such that \(f \circ g = h\)?
Few votes (4) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
For \(a,b,c \in \mathbb{N}\) let \([a] := \{1,...,a\}\) and suppose a map \(h: [a] \rightarrow [c]\) is given. How many choices \((f,g)\) for maps \(f: [a] \rightarrow [b]\) and \(g: [b] \rightarrow [c]\) are there such that \(f \circ g = h\)?
It seems to me that there should be a nice graph-theoretical argument that I'm not seeing. By symmetry, the formula shouldn't depend on the exact choice of \(h\), but only on the 'degrees' \(e_j := h^{-1}(j), \, j \in \{1,...,c\}\) and of course \(a,b,c\).
Any help is much appreciated.
Edit: Thanks to Peter Taylor's comment and by taking out some symmetry the formula$$ {a \choose e_1,...,e_c} \sum\limits_{\substack{d_1,...,d_c \in \mathbb{N}_0 \\ d_1+...+d_c=b}} {b \choose d_1,...,d_c} \prod\limits_{i=1}^c d_i^{e_i} $$seems to be what I was looking for. Here \(0^0\) is treated as \(1\).
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.