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.: (49 +177*x +16*x^2)/(1-x)^3.
E.g.f.: (49 +275*x +121*x^2)*exp(x). (End)
MAPLE
seq((11*n+7)^2, n=0..50); # G. C. Greubel, Sep 19 2019
MATHEMATICA
(11 Range[0, 50]+7)^2 (* or *) LinearRecurrence[{3, -3, 1}, {49, 324, 841}, 50] (* Harvey P. Dale, May 19 2019 *)
PROG
(Magma) [(11*n+7)^2: n in [0..50]]; // Vincenzo Librandi, Sep 04 2011
(PARI) a(n)=(11*n+7)^2 \\ Charles R Greathouse IV, Jun 17 2017
(Sage) [(11*n+7)^2 for n in (0..50)] # G. C. Greubel, Sep 19 2019
(GAP) List([0..50], n-> (11*n+7)^2); # G. C. Greubel, Sep 19 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved