OFFSET
1,4
COMMENTS
This sequence has exactly 416 terms. a(416) = 0, so an attempt to calculate a(417) would refer to itself.
Without the convention that a(n) = 0 for n <= 0, this sequence would have exactly five terms, since computing a(6) refers to a(-1).
LINKS
Nathan Fox, Table of n, a(n) for n = 1..416 (full sequence)
EXAMPLE
a(10) = 4 because a(9) is 10, a(8) is 8, and a(7) is 3, so we take a(10 - 10) + a(10 - 8) + a(10 - 3) = a(0) + a(2) + a(7) = 0 + 1 + 3 = 4.
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Nathan Fox, Feb 23 2016
STATUS
approved