I am expecting a similar problem on my upcoming exam. Any help would be greatly appreciated. Thanks a lot...

Lethndenote the number of nonnegative integer solutions of the equation

2e1 + 3e2 + 5e3 + 7e4 =n:Find the generating function

g(x) forh0,h1,h2,...hn....