Question: Recurrence Relations in Two Variables

Can Maple solve recurrence relations involving two variables?

For example, consider the relation:

P(n, m) = p*P(n - 1, m) + (1 - p)*P(n, m - 1)

with boundary conditions:

P(n, 0) = 0, P(0, m) = 1

I’d like to know how to obtain a solution for P(n, m) in Maple.

Please Wait...