login
A099212
a(n)=-2a(n-1)+4a(n-3).
2
1, 0, 0, 4, -8, 16, -16, 0, 64, -192, 384, -512, 256, 1024, -4096, 9216, -14336, 12288, 12288, -81920, 212992, -376832, 425984, 0, -1507328, 4718592, -9437184, 12845056, -6815744, -24117248, 99614720
OFFSET
0,4
COMMENTS
Binomial transform is A099213.
FORMULA
G.f.: (1+2x)/(1+2x-4x^3); a(n)=-2a(n-1)+4a(n-3).
MATHEMATICA
LinearRecurrence[{-2, 0, 4}, {1, 0, 0}, 40] (* Harvey P. Dale, May 02 2019 *)
CROSSREFS
Cf. A099211.
Sequence in context: A312756 A312757 A312758 * A045534 A194433 A221565
KEYWORD
easy,sign
AUTHOR
Paul Barry, Oct 06 2004
STATUS
approved