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.

A128797 (n^2-n)*3^n.

Original entry on oeis.org

0, 0, 18, 162, 972, 4860, 21870, 91854, 367416, 1417176, 5314410, 19486170, 70150212, 248714388, 870500358, 3013270470, 10331213040, 35126124336, 118550669634, 397493421714, 1324978072380, 4393348345260, 14498049539358
Offset: 0

Views

Author

Mohammad K. Azarian, Apr 07 2007

Keywords

Crossrefs

Programs

  • Magma
    [(n^2-n)*3^n: n in [0..25]]; // Vincenzo Librandi, Feb 10 2013
  • Mathematica
    CoefficientList[Series[18 x^2/(1 - 3 x)^3, {x, 0, 30}], x] (* Vincenzo Librandi, Feb 10 2013 *)
    LinearRecurrence[{9,-27,27},{0,0,18},40] (* Harvey P. Dale, Dec 15 2014 *)

Formula

G.f.: 18*x^2/(1-3*x)^3. - Vincenzo Librandi, Feb 10 2013
a(n) = 18*A027472(n+1). - R. J. Mathar, Apr 26 2015