I have a problem to determine EGF that show how many ways we can distribute r different people into n different rooms such that every room has at least 2 people and no more than 5 people. Of course, we know that this is a permutation case (and that's why it leads to EGF).
In ordinary generating function, we can manipulate the expression $(x^2 + x^3 + x^4 + x^5)$ as $x^2(1 + x + x^2 + x^3) = x^2(1-x^4)(1 + x + x^2 + \cdots)$, but how about in exponential generating function which lets to $\left(\dfrac{x^2}{2!} + \dfrac{x^3}{3!} + \dfrac{x^4}{4!} + \dfrac{x^5}{5!}\right)$?
Could anyone help me? Your help will be appreciated. Thank you.
Comment: In (1) we apply the rule $[x^{p-q}]A(x)=[x^p]x^qA(x)$.
Hint:
The paper Bracket notation for the "coefficient of" operator by D.E. Knuth might be instructive.
This MSE post provides an easy application of the coefficient of operator.
... and this one a somewhat more demanding.