OFFSET
0,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: (649 - 1848*x + 3699*x^2)/(1-x)^3. - R. J. Mathar, Jan 05 2011
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
E.g.f.: (649 - 550*x + 1250*x^2)*exp(x). - G. C. Greubel, Sep 14 2016
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {649, 99, 2049}, 50] (* Vincenzo Librandi, Feb 21 2012 *)
PROG
(PARI) for(n=0, 40, print1(1250*n^2 - 1800*n + 649", ")); \\ Vincenzo Librandi, Feb 21 2012
(Magma) [1250*n^2-1800*n+649: n in [0..40]]; // Bruno Berselli, Sep 15 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 08 2009
EXTENSIONS
Offset and one entry corrected by R. J. Mathar, Jan 05 2011
Librandi's comment rewritten by Bruno Berselli, Dec 13 2011
STATUS
approved