| Original Message (ID '39301') By yehuda ben-shimol: |
| 1. Study the basic Mathematica syntax
()
[]
{}
[[ ]]
so, you mean that a(n-1) is a[n-1]
2. Mathematically, you need a stopping condition for a
say, a[0] need a specific value, otherwise you will recurse to minus infinity
so, for a[0] = 0, you can try
a[0] = 0;
a[n_] := 7*n - a[n - 1] - 8;
Table[a[n], {n, 0, 50}]
yehuda |
|