Recurrence with Two Variables

23 Views Asked by At

I am trying to solve this recurrence relation $$ f(a,b)=cf(\lceil\frac{a}{c}\rceil,b)+cf(a,b-1). $$ The base cases are $f(a,2)=a$, $f(1, b)=1$, $c\geq{2}$, and $a, b, c\in{\mathbb{Z}^+}$. I tried to expand this relation, but I am confused about the termination conditions for different branches. Can anyone give me some clue about how to solve this recurrence relation?