OFFSET
0,2
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.: (1 + 7*x + 109*x^2)/(1-x)^3. - R. J. Mathar, Jul 01 2011
E.g.f.: (2 + 18*x + 117*x^2)*exp(x)/2. - G. C. Greubel, Oct 30 2019
MAPLE
seq((117*n^2-99*n+2)/2, n=0..40); # G. C. Greubel, Oct 30 2019
MATHEMATICA
Table[(117*n^2-99*n+2)/2, {n, 0, 40}] (* G. C. Greubel, Oct 30 2019 *)
PROG
(Magma) [117*n^2/2-99*n/2+1: n in [0..45]]; // Vincenzo Librandi, Jul 05 2011
(PARI) a(n)=117*n^2/2-99*n/2+1 \\ Charles R Greathouse IV, Jun 16 2017
(Sage) [(117*n^2-99*n+2)/2 for n in (0..40)] # G. C. Greubel, Oct 30 2019
(GAP) List([0..40], n-> (117*n^2-99*n+2)/2); # G. C. Greubel, Oct 30 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 22 1999
STATUS
approved