The problem about a frog climbing a stair of size N, in steps of size 1 or 2, can be formulated as Fibonacci; and if it can jump in steps of size $1,2,...k$ there must be $k$ recursive calls.
I want to know if its possible to solve this problem using combinations with repetition instead of using recursion?
Im trying to use combinations with repetition formula to give number of positive integer solutions to the restricted equation representing the problem (for example k=3 and N=4, the equation $a+b+c+d = 4$ with $1 \le a,b,c,d \le k$ ) and after that subtracting the impossible solutions (i.e. solutions wich contain value of zero for one or more variables), but I'm having trouble restricting the equation and counting the impossible solutions.
Wonder if Im walking in the right direction here?