OFFSET
1,2
COMMENTS
The binomial transform is 1, 3, 19, 87,.... (A015528 shifted). - R. J. Mathar, Apr 07 2022
LINKS
FORMULA
a(n) = (5/28)*4^n - (2/21)*(-3)^n.
G.f.: x*(1+x)/((1+3*x)*(1-4*x)). - Vincenzo Librandi, Aug 27 2017
MATHEMATICA
CoefficientList[Series[(1 + x) / ((1 + 3 x) (1 - 4 x)), {x, 0, 33}], x] (* Vincenzo Librandi, Aug 27 2017 *)
PROG
(PARI) a(n) = if (n==1, 1, if (n==2, 2, a(n-1) + 12*a(n-2))); \\ Michel Marcus, Jul 25 2017
(Magma) [(5/28)*4^n-(2/21)*(-3)^n: n in [1..30]]; // Vincenzo Librandi, Aug 27 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Matt C. Anderson, Jul 20 2017
STATUS
approved