OFFSET
0,1
COMMENTS
FORMULA
It appears that for n >= 8, a(n) = tersum(n,1) + 6 if n == 2 (mod 3), otherwise tersum(n,1) - 3.
Conjectures from Colin Barker, Feb 03 2018: (Start)
G.f.: (4 - x + 3*x^2 - 10*x^3 + 2*x^4 - 2*x^5 + 9*x^6 + 3*x^7 + 2*x^8 - 8*x^9 - 3*x^10 + 4*x^11) / ((1 - x)^2*(1 + x + x^2)).
a(n) = a(n-1) + a(n-3) - a(n-4) for n>11.
(End)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 02 2018
STATUS
approved