Imagine I have $n$ indistinguishable cats and $k$ designs to color the hats on those cats. Consider the case where $k \leq n.$ I want to figure out the number of ways I can color the hats on these indistinguishable cats such that each design shows up at least once.
I've been having some funky problems with trying to get this counting problem right. I originally imagined that, given that the cats are indistinguishable, We can first assign $k$ designs to $k$ of these cats 1 way and then choose among the $k$ designs for each of the other $n-k$ indistinguishable cats $k^{n-k}$. I assumed that we should divide this by the number of ways we could permute those $n-k$ cats, since the order of assignment doesn't matter. Thus, my original hypothesis for the counting proof was $$\frac{k^{n-k}}{n-k}.$$ However, this hypothesis has failed on a number of inputs. Namely, when $n=4$ and $k=2$, the number of ways should be 3, but this hypothesis says it should be $2$. Does anyone have recommendations on how to go about this kind of problem?