login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A050408
a(n) = (117*n^2 - 99*n + 2)/2.
1
1, 10, 136, 379, 739, 1216, 1810, 2521, 3349, 4294, 5356, 6535, 7831, 9244, 10774, 12421, 14185, 16066, 18064, 20179, 22411, 24760, 27226, 29809, 32509, 35326, 38260, 41311, 44479, 47764, 51166, 54685, 58321, 62074, 65944, 69931, 74035
OFFSET
0,2
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
Sequence in context: A232265 A095653 A024135 * A133197 A287473 A240917
KEYWORD
easy,nonn
AUTHOR
Klaus Strassburger (strass(AT)ddfi.uni-duesseldorf.de), Dec 22 1999
STATUS
approved