I'm struggling to get the following recurrence relation into a closed form if possible:
$$f(n,n)=1$$ $$f(n,1)=(n-1)!$$ $$f(n,k)=f(n-1,k)\cdot(n-1) + f(n-1,k-1)$$
where $f$, $n$ and $k$ are positive integers, and $k\leq n$. I've tried to plug the formulas to look for patterns, but I'm not doing very well... And, is there any software that can handle this kind of problem?
Edit: Removed redundant part of definition.
Thank you, Mastrem, for valuable input.
It turns out that $f(n,k)={n\brack k}$, in other words (unsigned) Stirling numbers of the first kind.
I found this by searching the OEIS.
Edit: Fixed typo (from "signed" to "unsigned"), added the following:
Proof: From the Wikipedia-article Stirling numbers of the first kind we have a recurrence relation for these numbers:
$${{n+1}\brack k}=n{n\brack k}+{n\brack{k-1}}$$
With the substitution $n\rightarrow n-1$ we get
$${n\brack k}=(n-1){{n-1}\brack k}+{{n-1}\brack{k-1}}$$
which is exactly in the same form as
$$f(n,k)=f(n-1,k)\cdot(n-1)+f(n-1,k-1)$$
Looking at starting-values we also see that the initial conditions must be equivalent.