OFFSET
1,2
COMMENTS
The next term has 139 digits. - Harvey P. Dale, Jan 21 2019
LINKS
T. D. Noe, Table of n, a(n) for n = 1..15
B. K. Agarwala and F. C. Auluck, Statistical mechanics and partitions into non-integral powers of integers, Proc. Camb. Phil. Soc., 47 (1951), 207-216. [Annotated scanned copy]
FORMULA
a(n) = a(n-1)^2 / a(n-5), for n > 5. - M. F. Hasler, Apr 22 2018
MAPLE
MATHEMATICA
t = {1, 2, 3, 4}; Do[AppendTo[t, t[[-1]]*t[[-2]]*t[[-3]]*t[[-4]]], {n, 5, 15}] (* T. D. Noe, Jun 19 2012 *)
nxt[{a_, b_, c_, d_}]:={b, c, d, a b c d}; NestList[nxt, {1, 2, 3, 4}, 10][[All, 1]] (* Harvey P. Dale, Jan 21 2019 *)
PROG
(PARI) a(n, a=[24, 1, 2, 3, 4])={for(n=6, n, a[n%5+1]=a[(n-1)%5+1]^2\a[n%5+1]); a[n%5+1]} \\ M. F. Hasler, Apr 22 2018
(PARI) first(n) = n = max(n, 5); my(res = vector(n)); for(i=1, 4, res[i] = i); res[5]=24; for(i = 6, n, res[i] = res[i-1]^2 / res[i - 5]); res \\ David A. Corneth, Apr 22 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved