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

A164013
3 times centered triangular numbers: 9*n*(n+1)/2 + 3.
3
3, 12, 30, 57, 93, 138, 192, 255, 327, 408, 498, 597, 705, 822, 948, 1083, 1227, 1380, 1542, 1713, 1893, 2082, 2280, 2487, 2703, 2928, 3162, 3405, 3657, 3918, 4188, 4467, 4755, 5052, 5358, 5673, 5997, 6330, 6672, 7023, 7383, 7752
OFFSET
0,1
FORMULA
a(n) = a(n-1) + 9*n (with a(0)=3). - Vincenzo Librandi, Nov 30 2010
a(0)=3, a(1)=12, a(2)=30, a(n)=3*a(n-1)-3*a(n-2)+a(n-3). - Harvey P. Dale, Mar 26 2015
From G. C. Greubel, Sep 06 2017: (Start)
G.f.: 3*(1 + x + x^2)/(1 - x)^3.
E.g.f.: (3/2)*(2 + 6*x + 3*x^2)*exp(x). (End)
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {3, 12, 30}, 50] (* Harvey P. Dale, Mar 26 2015 *)
PROG
(PARI) a(n)=9*binomial(n+1, 2)+3 \\ Charles R Greathouse IV, Jul 17 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Nov 07 2009
STATUS
approved