OFFSET
1,2
COMMENTS
Central terms of the triangle in A118413.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-4).
FORMULA
O.g.f.: x*(1+6*x)/(-1+2*x)^2 . - R. J. Mathar, Feb 26 2008
MATHEMATICA
CoefficientList[Series[(1 + 6 x)/(-1 + 2 x)^2, {x, 0, 40}], x] (* Vincenzo Librandi, May 21 2014 *)
LinearRecurrence[{4, -4}, {1, 10}, 30] (* Harvey P. Dale, Sep 16 2022 *)
PROG
(Magma)[(4*n-3)*2^(n-1): n in [1..40]]; // Vincenzo Librandi, Dec 26 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Apr 27 2006
EXTENSIONS
More terms from R. J. Mathar, Feb 26 2008
STATUS
approved