So I have a problem where I need to sum over a recursive function. The problem is that it is a 2 variables function and I can’t find any information on how to solve it. I know how to do it with 1 variable, but not with 2.
The problem: $$f(k,i)=f(k-1,i)+f(k-1,i-1)$$
I found a similar post with $f(k,i)=f(k-1,i)+f(k,i-1)$ but couldn’t understand how to convert the answer to my problem.
Base cases: $$f(k,0)=1\text{ for every }k,$$ $$f(0,i)=1\text{ for every }i.$$