OFFSET
0,2
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
From G. C. Greubel, Oct 09 2019: (Start)
G.f.: (1 + 3*x +20*x^2)/(1-x)^3.
E.g.f.: (1 + 5*x + 12*x^2)*exp(x). (End)
MAPLE
seq((3*n-1)*(4*n-1), n=0..50); # Nathaniel Johnston, Jun 26 2011
MATHEMATICA
Table[(3*n-1)*(4*n-1), {n, 0, 50}] (* Vladimir Joseph Stephan Orlovsky, Jun 26 2011 *)
PROG
(PARI) a(n)=(3*n-1)*(4*n-1) \\ Charles R Greathouse IV, Jun 17 2017
(Magma) [(3*n-1)*(4*n-1): n in [0..50]]; // G. C. Greubel, Oct 09 2019
(Sage) [(3*n-1)*(4*n-1) for n in (0..50)] # G. C. Greubel, Oct 09 2019
(GAP) List([0..50], n-> (3*n-1)*(4*n-1)); # G. C. Greubel, Oct 09 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved