OFFSET
0,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,2,0,0,0,-1).
FORMULA
a(n)=2a(n-4)-a(n-8).
MATHEMATICA
nxt[{a_, b_, c_, d_, e_, f_, g_, h_}]:={b, c, d, e, f, g, h, 2e-a}; NestList[nxt, {0, 1, 1, 2, 1, 4, 3, 5}, 100][[;; , 1]](* or *) LinearRecurrence[{0, 0, 0, 2, 0, 0, 0, -1}, {0, 1, 1, 2, 1, 4, 3, 5}, 100](* Harvey P. Dale, Jan 30 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. Carl Bellinger (carlb(AT)ctron.com)
EXTENSIONS
Shorter description and more terms from David W. Wilson.
STATUS
approved
