A154357 a(n) = 25*n^2 - 14*n + 2.
2, 13, 74, 185, 346, 557, 818, 1129, 1490, 1901, 2362, 2873, 3434, 4045, 4706, 5417, 6178, 6989, 7850, 8761, 9722, 10733, 11794, 12905, 14066, 15277, 16538, 17849, 19210, 20621, 22082, 23593, 25154, 26765, 28426, 30137, 31898, 33709, 35570, 37481, 39442, 41453, 43514
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).
Programs
-
Magma
[25*n^2-14*n+2: n in [0..40]]; // Bruno Berselli, Sep 15 2016
-
Mathematica
LinearRecurrence[{3, -3, 1}, {2, 13, 74}, 40] (* Vincenzo Librandi, Feb 08 2012 *)
-
PARI
a(n)=25*n^2-14*n+2 \\ Charles R Greathouse IV, Dec 23 2011
Formula
G.f.: (2 + 7*x + 41*x^2)/(1-x)^3. - R. J. Mathar, Jan 05 2011
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3). - Vincenzo Librandi, Feb 08 2012
E.g.f.: (2 + 11*x + 25*x^2)*exp(x). - G. C. Greubel, Sep 14 2016
Extensions
One entry and offset corrected by R. J. Mathar, Jan 05 2011
First comment rewritten by Bruno Berselli, Dec 11 2011
Comments