My work:
$e_1 + e_2 + e_3 + e_4 = 8$
let $e_1\geq2$
with no constraint on the other $e_i$'s
we want to find coefficient of $\cfrac{x^8}{8!}$
with this I've found the exponential generating function to be
$g(x) = (\cfrac{x^2}{2!} + \cfrac{x^3}{3!}+...)(1 +x+\cfrac{x^2}{2!}+...)^3 = (e^{x}-1-x)(e^x)^3 = e^{4x}-e^{3x}-xe^{3x}$
so first series would be $ \sum_{r=0}^{\infty} 4^r\cfrac{x^r}{r!}$ for $e^{4x}$
Second series would be -$ \sum_{r=0}^{\infty} 3^r\cfrac{x^r}{r!}$ for $-e^{3x}$
But I get stuck here
What would the third series be for $-xe^{3x}$?
I need to figure this third series out to figure out the coefficient
Any help would be appreciated here.
Also is my logic and methodology right for this question?
If it helps, I just need help with the $-x$ in front of $-xe^{3x}$
It's really throwing me off as I'm not sure how it would turn into a series.
To find the coefficient of $\frac{x^k}{k!}$ in $x e^{3x}$, I find it easier to find the coefficient of $x^k$ and then multiply by $k!$.
The coefficient of $x^k$ in $x e^{3x}$ is the coefficient of $x^{k-1}$ in $e^{3x}$, which is $\frac{3^{k-1}}{(k-1)!}$. So the coefficient of $\frac{x^k}{k!}$ is $k! \cdot \frac{3^{k-1}}{(k-1)!} = k 3^{k-1}$.
Therefore our final answer should be $4^k - 3^k - k 3^{k-1}$, where $k=8$ in your case. That's $4^8 - 3^8 - 8 \cdot 3^7 = 41\,479$, which I also checked by brute force:
gives $41\,479$ in Mathematica.