OFFSET
1,1
COMMENTS
In calculating terms of this sequence, use the convention that a(n)=0 for n<=-770.
Sequences like this are more naturally considered with the first nonzero term in position 1. But this sequence would then begin with 770 terms consisting entirely of alternating 4 and 770.
This sequence has exactly 8520 terms, since a(8520)=0 and computing a(8521) would refer to itself.
a(n) = 2*a(n-4) - a(n-8) for 8 < n <= 770 and for 782 < n <= 1540. a(n) = a(n-4) + a(n-8) - a(n-12) for 1565 < n <= 2310. - Chai Wah Wu, Jul 26 2020
LINKS
Nathan Fox, Table of n, a(n) for n = 1..8520
MAPLE
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Nathan Fox, Mar 19 2017
STATUS
approved