A017582 a(n) = (12n + 5)^2.
25, 289, 841, 1681, 2809, 4225, 5929, 7921, 10201, 12769, 15625, 18769, 22201, 25921, 29929, 34225, 38809, 43681, 48841, 54289, 60025, 66049, 72361, 78961, 85849, 93025, 100489, 108241, 116281
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
Programs
-
Mathematica
lst={};Do[AppendTo[lst,(12*n+5)^2],{n,0,5!}];lst (* Vladimir Joseph Stephan Orlovsky, Jun 29 2009 *) CoefficientList[Series[(25 + 214 x + 49 x^2) / (1 - x)^3, {x, 0, 40}], x] (* Vincenzo Librandi, Dec 28 2014 *) (12*Range[0,30]+5)^2 (* or *) LinearRecurrence[{3,-3,1},{25,289,841},30] (* Harvey P. Dale, Jul 19 2019 *)
-
PARI
a(n)=(12*n+5)^2 \\ Charles R Greathouse IV, Jun 17 2017
Formula
a(n) = A017581(n)^2. - Michel Marcus, Dec 28 2014
G.f.: (25 + 214*x + 49*x^2)/(1-x)^3. - Vincenzo Librandi, Dec 28 2014