Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I'm trying to solve this recurrence with two variables.

RSolve[g[d, n] == 1 + g[d - 1, n] + g[d - 1, n - 1] && 
  g[d, 0] == g[0, n] == 0, g[d, n], {d, n}]

My boundary conditions are that g[d, 0] == g[0, n] == 0 for all d,n . But when I plug this in, I get the same input back with no error message.

Am I inputting the recurrence incorrectly? Or is Mathematica simply unable to find a closed form?

share|improve this question
I believe that you are using the correct syntax. –  Szabolcs Feb 3 '13 at 21:45
It is a known sequence oeis.org/… –  belisarius Feb 4 '13 at 2:30
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.