The generating function is where
with for .
Recall that for , we have
Taking the derivative gives
Taking the derivative again, we get
Take the derivative one last time to get
So the generating function is
5.6m questions
7.3m answers