OFFSET
0,3
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, 3, -3, -2, 1).
FORMULA
a(n) = a(n-2)+A001654(n) with a(0)=0 and a(1)=1.
GF(x) = (-x)/((x-1)*(x+1)^2*(x^2-3*x+1)).
a(n) = ((-1)^(-n-1)*(15+10*n)-25+(16-4*A)*A^(-n-1)+(16-4*B)*B^(-n-1))/100 with A=(3+sqrt(5))/2 and B=(3-sqrt(5))/2.
MAPLE
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Sep 21 2010
STATUS
approved