4
$\begingroup$

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?

$\endgroup$
  • $\begingroup$ I believe that you are using the correct syntax. $\endgroup$ – Szabolcs Feb 3 '13 at 21:45
  • 1
    $\begingroup$ It is a known sequence oeis.org/… $\endgroup$ – Dr. belisarius Feb 4 '13 at 2:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.