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.