OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 11*n^2 - 9*n = A051865(n)*2.
a(n) = a(n-1) + 22*n - 20 (with a(0)=0). - Vincenzo Librandi, Nov 27 2010
From G. C. Greubel, Sep 01 2019: (Start)
G.f.: 2*x*(1 + 10*x)/(1-x)^3.
E.g.f.: x*(2 + 11*x)*exp(x). (End)
MAPLE
seq(n*(11*n-9), n=0..50); # G. C. Greubel, Sep 01 2019
MATHEMATICA
Table[n*(11*n-9), {n, 0, 50}] (* G. C. Greubel, Sep 01 2019 *)
PROG
(Magma) [n*(11*n-9): n in [0..50]];
(PARI) a(n)=n*(11*n-9) \\ Charles R Greathouse IV, Jun 17 2017
(Sage) [n*(11*n-9) for n in (0..50)] # G. C. Greubel, Sep 01 2019
(GAP) List([0..50], n-> n*(11*n-9)); # G. C. Greubel, Sep 01 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Dec 22 2008
EXTENSIONS
Terms a(39) onward added by G. C. Greubel, Sep 01 2019
STATUS
approved