login
A156812
a(n) = 225*n^2 - 199*n + 44.
1
44, 70, 546, 1472, 2848, 4674, 6950, 9676, 12852, 16478, 20554, 25080, 30056, 35482, 41358, 47684, 54460, 61686, 69362, 77488, 86064, 95090, 104566, 114492, 124868, 135694, 146970, 158696, 170872, 183498, 196574, 210100, 224076, 238502, 253378
OFFSET
0,1
FORMULA
From Vincenzo Librandi, Feb 08 2012: (Start)
900*a(n) + 1 = (450*n - 199)^2.
G.f.: (44 - 62*x + 468*x^2)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
E.g.f.: (44 + 26*x + 225*x^2)*exp(x). - G. C. Greubel, Jun 10 2021
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {44, 70, 546}, 40] (* Vincenzo Librandi, Feb 08 2012 *)
PROG
(PARI) a(n)=225*n^2-199*n+44 \\ Charles R Greathouse IV, Dec 23 2011
(Magma) I:=[44, 70, 546]; [n le 3 select I[n] else 3*Self(n-1) -3*Self(n-2) +Self(n-3): n in [1..40]]; // Vincenzo Librandi, Feb 08 2012
(Sage) [225*n^2 -199*n +44 for n in (0..40)] # G. C. Greubel, Jun 10 2021
CROSSREFS
Sequence in context: A092025 A250329 A242515 * A171665 A348098 A348076
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 16 2009
EXTENSIONS
Offset corrected by R. J. Mathar, Aug 18 2009
STATUS
approved