OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: x*(5+8*x)/(1-x)^3.
From Bruno Berselli, Sep 05 2011: (Start)
a(n) - a(-n) = -A008585(n).
a(n) + a(-n) = A152742(n). (End)
E.g.f.: (1/2)*(13*x^2 + 10*x)*exp(x). - G. C. Greubel, Jul 17 2017
MATHEMATICA
Table[n (13n-3)/2, {n, 0, 60}] (* Harvey P. Dale, Feb 24 2011 *)
PROG
(Magma) [ n*(13*n-3)/2 : n in [0..42] ];
(PARI) a(n)=n*(13*n-3)/2 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Bruno Berselli, Feb 11 2011
STATUS
approved