login
A058058
Generalized Somos-7 sequence: a(n)*a(n+7) = 3*a(n+1)*a(n+6) - 4*a(n+2)* a(n+5) + 4*a(n+3)*a(n+4).
1
1, 1, 1, 1, 1, 1, 1, 3, 9, 19, 33, 131, 681, 3921, 23801, 132881, 598121, 7466321, 141401273, 1865484899, 19358862929, 314151573363, 7831607063961, 237725833277411, 8937694547422641, 293153245305595201, 7098035759907924561, 310194702846756799041, 35075042744420641281841
OFFSET
1,8
REFERENCES
N. Elkies, posting to the NMBRTHRY(AT)LISTSERV.NODAK.EDU newsgroup, Nov. 2000.
LINKS
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