OFFSET
0,17
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..463
Eric Weisstein's World of Mathematics, Somos Sequence
MATHEMATICA
a[k_, n_]:=a[k, n] = If[n>2*k+1, (a[k, (n-1)]*a[k, (n-2*k-1)]+(a[k, (n-k-1)])^2 )/a[k, (n-2*k-2)], 1]; Map[a[7, #]&, Range[0, 50]] (* Peter J. C. Moses, Apr 15 2016 *)
PROG
(PARI) {a(n) = if(n< 16, 1, (a(n-1)*a(n-15) + a(n-8)^2)/a(n-16))};
for(n=0, 50, print1(a(n), ", ")) \\ G. C. Greubel, Feb 21 2018
(Magma) [n le 16 select 1 else (Self(n-1)*Self(n-15) + Self(n-8)^2 )/Self(n-16): n in [1..50]]; // G. C. Greubel, Feb 21 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, Apr 15 2016
STATUS
approved