OFFSET
1,6
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..26
David Rock, Problem of the Week.
EXAMPLE
a(5) = a(2)^3 + a(3)^2 + a(4) = 0^3 + 1^2 + 0 = 1.
a(9) = a(6)^3 + a(7)^2 + a(7) = 2^3 + 3^2 + 8 = 8 + 9 + 8 = 25.
MATHEMATICA
a[1] = -1; a[2] = 0; a[3] = 1; a[n_] := a[n] = a[n - 3]^3 + a[n - 2]^2 + a[n - 1]; a /@ Range[20]
nxt[{a_, b_, c_}]:={b, c, a^3+b^2+c}; NestList[nxt, {-1, 0, 1}, 20][[All, 1]] (* Harvey P. Dale, Nov 14 2022 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Hamilton L. Hardison (HamiltonHardison(AT)gmail.com), Oct 15 2005
EXTENSIONS
More terms from Robert G. Wilson v, Oct 17 2005
STATUS
approved