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”).

A140679
a(n) = n*(3*n+14).
7
0, 17, 40, 69, 104, 145, 192, 245, 304, 369, 440, 517, 600, 689, 784, 885, 992, 1105, 1224, 1349, 1480, 1617, 1760, 1909, 2064, 2225, 2392, 2565, 2744, 2929, 3120, 3317, 3520, 3729, 3944, 4165, 4392, 4625, 4864, 5109, 5360, 5617
OFFSET
0,2
FORMULA
a(n) = 3*n^2 + 14*n.
a(n) = a(n-1) + 6*n + 11, with a(0)=0. - Vincenzo Librandi, Aug 03 2010
a(n) = 3a(n-1) - 3a(n-2) + a(n-3), with a(1)=0, a(2)=17, a(3)=40. - Harvey P. Dale, Apr 29 2011
E.g.f.: (3*x^2 + 17*x)*exp(x). - G. C. Greubel, Jul 20 2017
EXAMPLE
a(1)=6*1+0+11=17; a(2)=6*2+17+11=40; a(3)=6*3+40+11=69. See 2nd formula.
MATHEMATICA
Table[n(3n+14), {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 17, 40}, 50] (* Harvey P. Dale, Apr 29 2011 *)
PROG
(PARI) a(n)=n*(3*n+14) \\ Charles R Greathouse IV, Oct 07 2015
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, May 22 2008
STATUS
approved