Let $\Sigma = \{a,b,c\}$ and $ n \in \mathbb N$. How many words of length $n$ over the alphabet $\Sigma$ exist in which each letter appears at least once?
I know how to computation for words without the restriction that each letter appears at least once. So my specific difficulty is how to handle the restriction
Let $(f_n)$ be the desired sequence. You can use exponential generating functions to find the answer too. Note that $$ F(x)=(x+\frac{x^2}{2!}+\frac{x^3}{3!}+\dotsb)^3 =\sum_{n=0}^{\infty}\left(\sum_{k_1+k_2++k_2=n;\, k_i>0} \binom{n}{k_1, k_2, k_3}\right) \frac{x^n}{n!} =\sum_{n=0}^{\infty} f_n \frac{x^n}{n!}. \tag{1} $$
But we also have that $$ F(x)=(e^x-1)^3=e^{3x}-3e^{2x}+3e^{x}-1=-1+\sum_{n=0}^{\infty} \left( 3^n-3\times2^n+3 \right)\frac{x^{n}}{n!} $$ In particular $$ f_n= \begin{cases} 0 & \text{if $n=0$;}\\ 3^n-3\times2^n+3 & \text{if $n>0$.} \end{cases} $$