A017462 a(n) = (11*n + 6)^2.
36, 289, 784, 1521, 2500, 3721, 5184, 6889, 8836, 11025, 13456, 16129, 19044, 22201, 25600, 29241, 33124, 37249, 41616, 46225, 51076, 56169, 61504, 67081, 72900, 78961, 85264, 91809, 98596, 105625, 112896, 120409, 128164, 136161, 144400, 152881, 161604, 170569
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..10000
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Crossrefs
Programs
-
GAP
List([0..50], n-> (11*n+6)^2); # G. C. Greubel, Sep 19 2019
-
Magma
[(11*n+6)^2: n in [0..40]]; // Vincenzo Librandi, Sep 03 2011
-
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 *)
-
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
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)