OFFSET
0,2
COMMENTS
Binomial transform of 1,1,0,1,-2,3,-8,13,-30,... (see A113954 and A103196). - R. J. Mathar, Feb 11 2010
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,0,-4)
FORMULA
MATHEMATICA
LinearRecurrence[{3, 0, -4}, {1, 2, 3}, 40] (* Harvey P. Dale, May 27 2018 *)
PROG
(Magma) [(5*2^(n+2)-3*n*2^n-2*(-1)^n) / 18: n in [0..35]]; // Vincenzo Librandi, Aug 09 2011
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, May 21 2008
EXTENSIONS
Definition replaced with closed formula by R. J. Mathar, Feb 11 2010
STATUS
approved