OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-3,-3,-2).
FORMULA
|v(n)| = 2^n+A130772(n); 2*|v(n)|-|v(n+1)|= 2*A057079(n), where v(n)=a(n+1)-a(n) are first differences.
O.g.f.: (1+x-x^2)/((1+2*x)*(1+x+x^2)). a(n)=(-1)^n*A130707(n). - R. J. Mathar, Jul 07 2008
Binomial transform yields A130151 without the first two terms. - R. J. Mathar, Jul 07 2008
MATHEMATICA
LinearRecurrence[{-3, -3, -2}, {1, -2, 2}, 40] (* Harvey P. Dale, Jan 11 2017 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Aug 27 2007
EXTENSIONS
Edited by R. J. Mathar, Jul 07 2008
STATUS
approved