OFFSET
0,1
COMMENTS
Generalized Lucas-Jacobsthal numbers.
LINKS
FORMULA
a(n) = (-3)^n+4^n.
a(n) = a(n-1) + 12*a(n-2) for n > 1; a(0)=2, a(1)=1. - Philippe Deléham, Sep 19 2009
MATHEMATICA
CoefficientList[Series[(2 - z)/((1 + 3 z) (1 - 4 z)), {z, 0, 200}], z] (* Vladimir Joseph Stephan Orlovsky, Jun 11 2011 *)
LinearRecurrence[{1, 12}, {2, 1}, 30] (* Harvey P. Dale, Nov 06 2022 *)
PROG
(PARI) polsym(x^2-x-12, 50) \\ Charles R Greathouse IV, Jun 11 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 06 2003
STATUS
approved