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.

A128986 a(n) = (n^3 - n^2)*3^n.

Original entry on oeis.org

0, 36, 486, 3888, 24300, 131220, 642978, 2939328, 12754584, 53144100, 214347870, 841802544, 3233287044, 12187005012, 45199057050, 165299408640, 597144113712, 2133912053412, 7552375012566, 26499561447600, 92260315250460
Offset: 1

Views

Author

Mohammad K. Azarian, Apr 30 2007

Keywords

Crossrefs

Programs

  • Magma
    [(n^3 - n^2)*3^n: n in [1..25]]; // Vincenzo Librandi, Feb 11 2013
  • Mathematica
    LinearRecurrence[{12, -54, 108, -81}, {0, 36, 486, 3888}, 30] (* Vincenzo Librandi, Feb 11 2013 *)

Formula

G.f.: 18x^2(2+3x)/(1-3x)^4. - R. J. Mathar, Dec 19 2008
a(n) = 12*a(n-1) - 54*a(n-2) + 108*a(n-3) - 81*a(n-4). - Vincenzo Librandi, Feb 11 2013

Extensions

Offset corrected by Mohammad K. Azarian, Nov 20 2008