OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (4,-4).
FORMULA
a(n+1) - a(n) = A066373(n+3). - J. M. Bergot, Apr 21 2013
G.f.: ( 1+4*x ) / (1-2*x)^2. - R. J. Mathar, Apr 25 2013
E.g.f.: (1+6*x)*exp(2*x). - G. C. Greubel, Sep 28 2022
MATHEMATICA
Table[2^n*(3*n+1), {n, 0, 30}] (* G. C. Greubel, Sep 28 2022 *)
PROG
(Magma) [(3*n+1)*2^n: n in [0..30]]; // Vincenzo Librandi, May 04 2011
(SageMath) [2^n*(3*n+1) for n in range(30)] # G. C. Greubel, Sep 28 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Aug 01 2007
STATUS
approved