It is well known that $\sum_{i=0}^\infty {n+i-1 \choose i}x^i=\frac{1}{(1-x)^n},$ i.e. $\frac{1}{(1-x)^n}$ is generating function for sequence $a_i={n+i-1 \choose i.}$
But I want to find generating function for sequence $a_i={n+im-1 \choose im.}$ Using The On-Line Encyclopedia of Integer Sequences, I understood that generating function for sequence $a_i={n+2i-1 \choose 2i.}$ is $\frac{1+(n-1)x}{(1-x)^2}.$ But I cann't recieve generating function if $m>2.$ I found two formulas for multiset formula. But they didn't help me.
Thanks a lot in advance for any help!
We can simplify our problem: $$ \binom{n+im-1}{im} = (-1)^{im}\binom{-n}{im} $$ We are looking for $$ A_p(x) = \sum\limits_{i=0}^\infty \binom{-n}{im+p}x^i $$ Where $p\in \{ 0, 1, \dots, m-1 \} $ (particularly, $p=0$). We also have: $$ S(x) = \sum\limits_{i=0}^\infty \binom{-n}{i} x^i = \frac{1}{(1+x)^n} $$
Let $\{ z, z^2, \dots, z^m \}$ be different complex solutions to the equation $z^m=1$.
$$ S(z^l \cdot x ) = \sum\limits_{i=0}^\infty \binom{-n}{i} (z^l\cdot x)^i = A_0(x^m) +z^l \cdot xA_1(x^m) + \dots + z^{l(m-1)} \cdot x^{m-1}A_{m-1}(x^m) $$ We created a linear system of equations, where the variables are functions $A_p(x)$. Now we will have, because $z+z^2+\dots+z^m=0$: $$ A_0(x^m) = \frac{1}{m} \sum\limits_{j=1}^m S(z^j \cdot x) = \frac{1}{m} (\frac{1}{(1+zx)^n}+\frac{1}{(1+z^2x)^n}+\dots+\frac{1}{(1+z^nx)^n}) $$ When $m=2$ $$ A_0(x^2) = \frac{1}{2}(\frac{1}{(1+x)^n}+\frac{1}{(1-x)^n}) $$ Derivation for any $p$ is possible, but needs more work with solving the linear equation.