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.

A061983 a(n) = 3^n - (3*n^2 + n + 2)/2.

Original entry on oeis.org

0, 0, 1, 11, 54, 202, 671, 2109, 6460, 19556, 58893, 176959, 531218, 1594062, 4782667, 14348561, 43046328, 129139720, 387419993, 1162260915, 3486783790, 10460352530, 31381058871, 94143178021, 282429535604, 847288608492, 2541865827301, 7625597483879, 22876792453770
Offset: 0

Views

Author

Henry Bottomley, May 24 2001

Keywords

Crossrefs

Column of A061980.

Programs

  • PARI
    a(n) = { 3^n - (3*n^2 + n + 2)/2 } \\ Harry J. Smith, Jul 29 2009

Formula

G.f.: x^2*(1 + 5*x)/((1 - x)^3*(1 - 3*x)). - Andrew Howroyd, Dec 28 2024