Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Recurrence table' topicStudent Support Forum > General > "Recurrence table"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda ben-shimol
09/26/10 04:03am

Hi
your code seems to be OK. If you want a more direct approach, compute it yourself, as in

s1[n_, k_] := s1[n - 1, k - 1] + k*s1[n - 1, k + 1] + s1[n - 2, k];
s1[1, k_] = 1;
s1[2, k_] = 2;
Table[s1[n, k], {n, 6}, {k, 6}]

this yields the desired matrix (2D recurrence table)

yehuda

URL: ,

Subject (listing for 'Recurrence table')
Author Date Posted
Recurrence table Karthik 09/16/10 3:39pm
Re: Recurrence table Karthik 09/23/10 4:02pm
Re: Recurrence table yehuda ben-s... 09/26/10 04:03am
< Previous CommentHelp | Reply To Comment | Reply To Topic