I need help making an OGF for $1 + x^i + x^{2i}+...+x^{ki}$. I already know how to verify that $1 +x +x^2+...+x^k$ can be written by $({1-x^{k+1}})/({1-x})$. I'm wondering if there is any correlation between the two..?
Any help would be greatly appreciated. Thanks!
Hint: make the substitution $u=x^i$.