Changes to the recurrences and definition are changed! See here: $f(n, 1) = 2n^2 $ and $f (n, k) = 0$ for $k \geq 2n$ and for $k < 0$ and $f(n, 2n-1) = 1$ for all $n$.
Question: Is it possible to solve the following recurrence? If so in what manner should I approach it?
Conditions Let $f(n,k)$ be the 2-independent-variable function, where $f(n, 0) = 1$, $f(n, 1) = 2 n^2 $ and $f (n, k) = 0$ for $k \geq 2n$ and for $k < 0$ and $f(n, 2n-1) = 1$ for all $n$. All $n, k$ are positive integers.
Solve the recurrence (giving either a generating function, hopefully also an explicit formula):
$f(n,k) = f(n-1, k) + 2(2n-k) \cdot f(n-1, k-1) + (2n-k+1)(2n-k) \cdot f(n-1, k-2).$
I read the following link on gen. functions and tried to come up with something as follows:
Multiplying throughout by $x^k$ and summing the RHS over $k\geq 0$, define the generating function $B_n(x) = \sum_{k\geq0} f(n,k)x^k$, with $n \geq 1, B_0(x) = 0$.
Let the notation $[x^k]g(x)$ denote the $k^{\text{th}}$ coefficients of the function $g(x)$.
Then if we do the above for the LHS too and equate both sides, we yield:
$ B_n(x) = B_{n-1}(x) + \sum_{k\geq0} 2(2n-k) \cdot [x^k](xB_{n-1}(x)) + \sum_{k\geq0} (2n-k+1)(2n-k) \cdot [x^k](x^2 B_{n-1}(x)) $
where the notation $\sum_{k\geq0} 2(2n-k) \cdot [x^k](xB_{n-1}(x))$ means $2(2n-k)$ multiplied by the $k^{th}$ coefficient of the function $(xB_{n-1}(x))$.
Notice this simplifies to:
$ B_n(x) = B_{n-1}(x) + \sum_{k\geq0} 2(n-k) \cdot [x^{k-1}](B_{n-1}(x)) + \sum_{k\geq0} (n-k+1)(n-k) \cdot [x^{k-2}](B_{n-1}(x)) $
Is the above workings correct/logical? If it is, is there a way to simplify the $\sum_{k\geq0} (2n-k+1)(2n-k)$ expression (which is something multiply by the $k^{th}$ coefficient)? Any other ideas to go about solving this recurrence function? Thanks!
Problem: Let $f(n,k)$ be defined by the recurrence
\begin{align*} f(n,k)&=f(n-1,k)+2(2n-k)f(n-1,k-1)\\ &+(2n-k+1)(2n-k)f(n-1,k-2)\qquad\qquad n\geq 1, k \geq 2 \end{align*} with \begin{array}{ll} f(n,0)=1,f(n,1)=n,&\quad n\geq 0\\ f(n,k)=0,&\quad k>n, k<0\\ f(n,n)=1, &\quad n\geq 0 \end{array}
Note: Observe the index range: $n\geq 1$ and $k\geq 2$. In the following calculations we want to collect the contributions of $f(n,k), f(n-1,k-1)$ and $f(n-1,k-2)$ by transforming all to $f(n,k)$. In order to do so we have to do some index shifting. Since we have to cope with $f(n-1,.)$ the index $n$ starts beginning from $1$ and since we have to cope with $f(.,k-1)$ and $f(.,k-2)$ the index $k$ starts from $2$. This way we won't have conflicts with the definition of $F(x,y)$.
Putting all of (1) - (4) together we get
This can be simplified to
Conclusion: At the time it's not quite clear to me how to proceed with this partial differential equation. But at least we have another representation of the problem we can think about it.