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.

A119536 a(n) = 3*n^3 + 3*n.

Original entry on oeis.org

0, 6, 30, 90, 204, 390, 666, 1050, 1560, 2214, 3030, 4026, 5220, 6630, 8274, 10170, 12336, 14790, 17550, 20634, 24060, 27846, 32010, 36570, 41544, 46950, 52806, 59130, 65940, 73254, 81090, 89466, 98400, 107910, 118014, 128730, 140076, 152070
Offset: 0

Views

Author

Zerinvary Lajos, May 28 2006

Keywords

Programs

  • Maple
    [seq (3*n^3+3*n,n=0..60)];
  • Mathematica
    Table[3n^3+3n,{n,0,40}] (* or *) LinearRecurrence[{4,-6,4,-1},{0,6,30,90},40] (* Harvey P. Dale, Mar 19 2013 *)

Formula

a(n) = 3*A034262(n) = 6*A006003(n). - J. M. Bergot, Apr 16 2012
a(0)=0, a(1)=6, a(2)=30, a(3)=90, a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Harvey P. Dale, Mar 19 2013