OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
From G. C. Greubel, Sep 19 2019: (Start)
G.f.: (36 +181*x +25*x^2)/(1-x)^3.
E.g.f.: (36 +253*x +121*x^2)*exp(x). (End)
MAPLE
seq((11*n+6)^2, n=0..50); # G. C. Greubel, Sep 19 2019
MATHEMATICA
(11*Range[0, 30]+6)^2 (* or *) LinearRecurrence[{3, -3, 1}, {36, 289, 784}, 30] (* Harvey P. Dale, Sep 24 2016 *)
PROG
(Magma)[(11*n+6)^2: n in [0..40]]; // Vincenzo Librandi, Sep 03 2011
(PARI) a(n)=(11*n+6)^2 \\ Charles R Greathouse IV, Jun 17 2017
(Sage) [(11*n+6)^2 for n in (0..50)] # G. C. Greubel, Sep 19 2019
(GAP) List([0..50], n-> (11*n+6)^2); # G. C. Greubel, Sep 19 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved