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.: (99 + 352*x + 2049*x^2)/(1-x)^3. - Bruno Berselli, Dec 13 2011
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3). - Vincenzo Librandi, Feb 21 2012
E.g.f.: (99 + 550*x + 1250*x^2)*exp(x). - G. C. Greubel, Sep 15 2016
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {99, 649, 3699}, 50] (* Vincenzo Librandi, Feb 21 2012 *)
PROG
(PARI) for(n=0, 40, print1(1250*n^2-700*n+99", ")); \\ Vincenzo Librandi, Feb 21 2012
(Magma) [1250*n^2-700*n+99: n in [0..40]]; // Bruno Berselli, Sep 15 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 08 2009
EXTENSIONS
Edited by Charles R Greathouse IV, Jul 29 2010
Librandi's comment rewritten by Bruno Berselli, Dec 13 2011
STATUS
approved