OFFSET
0,15
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..416
Eric Weisstein's World of Mathematics, Somos Sequence
MATHEMATICA
a[n_ /; 0 <= n <= 14] = 1; a[n_]:= a[n] = (a[n-1]*a[n-13] + a[n-7]^2)/a[n -14]; Table[a[n], {n, 0, 50}] (* G. C. Greubel, Feb 21 2018 *)
PROG
(PARI) {a(n) = if(n<= 14, 1, (a(n-1)*a(n-13) + a(n-7)^2)/a(n-14))};
for(n=1, 50, print1(a(n), ", ")) \\ G. C. Greubel, Feb 21 2018
(Magma) [n le 14 select 1 else (Self(n-1)*Self(n-13) + Self(n-7)^2)/Self(n-14): 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