OFFSET
0,2
LINKS
FORMULA
G.f.: -x^2*(-6+7*x) / ( (x-1)*(x^2+x-1) ). - R. J. Mathar, Mar 15 2011
a(n) = 1+A022130(n-3), n>2. - R. J. Mathar, Mar 15 2011
MATHEMATICA
Join[{a=0, b=6}, Table[c=a+b-1; a=b; b=c, {n, 100}]]
LinearRecurrence[{2, 0, -1}, {0, 6, 5}, 40] (* Harvey P. Dale, Aug 17 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 15 2011
STATUS
approved