OFFSET
1,8
REFERENCES
N. Elkies, posting to the NMBRTHRY(AT)LISTSERV.NODAK.EDU newsgroup, Nov. 2000.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..170
MATHEMATICA
a[1] =a[2] =a[3] =a[4] =a[5] =a[6] =a[7] =1; a[n_]:= a[n] = (3*a[n-1]*a[n-6] - 4*a[n-2]*a[n-5] + 4*a[n-3]*a[n-4])/a[n-7]; Table[ a[n], {n, 1, 35}]
PROG
(PARI) {a(n) = if (n <=7, 1, (3*a(n-1)*a(n-6) - 4*a(n-2)*a(n-5) + 4*a(n-3)*a(n-4))/a(n-7))};
for(n=1, 30, print1(a(n), ", ")) \\ G. C. Greubel, Feb 21 2018
(Magma) I:=[1, 1, 1, 1, 1, 1, 1]; [n le 7 select I[n] else (3*Self(n-1)*Self(n-6) - 4*Self(n-2)*Self(n-5) + 4*Self(n-3)*Self(n-4))/Self(n-7): n in [1..30]]; // G. C. Greubel, Feb 21 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Nov 20 2000
STATUS
approved