cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A164013 3 times centered triangular numbers: 9*n*(n+1)/2 + 3.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Nov 07 2009

Keywords

Crossrefs

Programs

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)

A164016 6 times centered hexagonal numbers: 18*n*(n+1) + 6.

Original entry on oeis.org

6, 42, 114, 222, 366, 546, 762, 1014, 1302, 1626, 1986, 2382, 2814, 3282, 3786, 4326, 4902, 5514, 6162, 6846, 7566, 8322, 9114, 9942, 10806, 11706, 12642, 13614, 14622, 15666, 16746, 17862, 19014, 20202, 21426, 22686, 23982, 25314
Offset: 0

Views

Author

Omar E. Pol, Nov 07 2009

Keywords

Crossrefs

Programs

  • Mathematica
    Table[18n(n+1)+6,{n,0,40}] (* or *) LinearRecurrence[{3,-3,1},{6,42,114},40] (* Harvey P. Dale, Dec 16 2012 *)
  • PARI
    a(n)=18*n*(n+1)+6 \\ Charles R Greathouse IV, Jul 17 2011

Formula

a(n) = A003215(n)*6.
a(n) = a(n-1) + 36*n (with a(0)=6). - Vincenzo Librandi, Nov 30 2010
a(n) = 3*a(n-1)-3*a(n-2)+a(n-3) with a(0)=6, a(1)=42, a(2)=114. - Harvey P. Dale, Dec 16 2012
From G. C. Greubel, Sep 07 2017: (Start)
G.f.: 6*(1 + 4*x + x^2)/(1 - x)^3.
E.g.f.: 6*(1 + 6*x + 3*x^2)*exp(x). (End)
Showing 1-2 of 2 results.