OFFSET
0,18
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..487
MATHEMATICA
a[k_, n_]:=a[k, n]=If[n>2k+2, (a[k, (n-1)]*a[k, (n-2k-2)]+a[k, (n-k-1)]*a[k, (n-k-2)])/a[k, (n-2k-3)], 1];
Map[a[7, #]&, Range[0, 50]] (* Peter J. C. Moses, Apr 17 2016 *)
PROG
(PARI) {a(n) = if(n<= 17, 1, (a(n-1)*a(n-16) + a(n-8)*a(n-9))/a(n-17))}; for(n=1, 50, print1(a(n), ", ")) \\ G. C. Greubel, Jul 30 2018
(Magma) [n le 17 select 1 else (Self(n-1)*Self(n-16)+Self(n-8)*Self(n-9))/Self(n-17): n in [1..60]]; // G. C. Greubel, Jul 30 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, Apr 17 2016
STATUS
approved