I have a generating function that I'm trying to create. It has a general form to it:
$1 + cx + c(c-1)x^2 + c(c-1)(c-2)x^3 + \dots + c!x^c$
I would like to see a closed form for this function. I'd like something other than a summation. I'm particularly interested if someone could walk through how to derive the form for me. I was hoping that someone could carry on with what I've done and show me how to solve what's left.
My attempt
So I try to create a function $A(x)$ (which will be the closed form) using recurrences. Here I'm using techniques (and especially notation) from Wilf's Generatingfunctionology.
I set $a_0=1$. I then proceed to multiply by $(c-n)$. My guess is that the math should be something like the following:
$a_{n+1}=c \cdot a_n - \frac{d A(x)}{dx}$
I'm trying to say that the next term should be $c$ times the previous term minus $n$ times the previous term. The latter is represented by the derivative, I believe. So I guess that this could be correct. Unfortunately, I don't know for sure, and so I'm kind of lost at this point. I would greatly appreciate if someone could take it from here and explain the rest in detail.
The Differential Equation
Assuming that the last part is correct, the function becomes a differential equation:
$\frac{A(x)-1}{x}=c \cdot A(x) - \frac{d A(x)}{dx}$
I believe that your initial attempt is incorrect. If I solve the suggested differential equation, I get \begin{eqnarray} A(x) = -\frac{1}{cx} \left( 1 - e^{cx} \right) = \sum_{k \geq 1} \frac{(cx)^{k-1}}{k!}, \end{eqnarray} where I have chosen the initial condition to ensure $1$ is the first term of the series expansion. The generating function that you are seeking is the following: \begin{eqnarray} e^{1/x} \left( x^{c} \Gamma(c+1, \tfrac{1}{x}) - c (-x)^{c} \Gamma(0, \tfrac{1}{x}) (1 -c)^{(c)} \right) = 1 + \sum_{k = 1}^{c} c(c-1) \cdots (c-k+1) \ x^{k}, \end{eqnarray} which may be simplified to \begin{eqnarray} e^{1/x} \left( \frac{(-x)^{c} \ \Gamma(0, \frac{1}{x})}{\Gamma(-c)} + x^{c} \ \Gamma(c + 1, \tfrac{1}{x}) \right) = 1 - \sum_{k = 1}^{c} c (1 - c)^{(k-1)} \ (-x)^{k}, \end{eqnarray} where $\Gamma(n,x)$ is the incomplete gamma function defined as \begin{eqnarray} \Gamma(n,x) = \int_{x}^{\infty} t^{n-1} e^{-t} dt = (n-1)! e^{-x} \sum_{k = 0}^{n-1} \frac{x^{k}}{k!} \end{eqnarray} and $(x)^{(n)}$ is the Pochhammer symbol or rising factorial, $x(x+1)\cdots (x+n-1)$. This form makes no assumption on the integrality of $c$. However, if $c$ is a positive integer, then the formula simplifies greatly. For example, if $c = 3$, the left side specializes to \begin{eqnarray} e^{1/x} x^3 \Gamma(4, \tfrac{1}{x}) = 1 + 3 x + 6 x^{2} + 6 x^{3}. \end{eqnarray} NB: There is no extra term. The last exponent of $x$ has coefficient $c!$. In fact, the last two coefficients is $c!$ because $c(c-1) \cdots 2 = c(c-1) \cdots 2 \cdot 1 = c!$.
In general, the generating function assuming integral $c$ is \begin{eqnarray} e^{1/x} x^{c} \ \Gamma(c+1, \tfrac{1}{x}). \end{eqnarray}