OFFSET
0,1
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
From Chai Wah Wu, Jul 10 2016: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 2.
G.f.: (49*x^2 + 177*x + 16)/(1 - x)^3. (End)
E.g.f.: (16 + 209*x + 121*x^2)*exp(x). - G. C. Greubel, Sep 18 2019
MAPLE
seq((11*n+4)^2, n=0..50); # G. C. Greubel, Sep 18 2019
MATHEMATICA
(11*Range[50] -7)^2 (* G. C. Greubel, Sep 18 2019 *)
PROG
(PARI) a(n)=(11*n+4)^2 \\ Charles R Greathouse IV, Jun 17 2017
(Magma) [(11*n+4)^2: n in [0..50]]; // G. C. Greubel, Sep 18 2019
(Sage) [(11*n+4)^2 for n in (0..50)] # G. C. Greubel, Sep 18 2019
(GAP) List([0..50], n-> (11*n+4)^2); # G. C. Greubel, Sep 18 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Terms a(30) onward added by G. C. Greubel, Sep 18 2019
STATUS
approved