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.

A060416 a(n) = n*4^n - 1, with a(0) = 1.

Original entry on oeis.org

1, 3, 31, 191, 1023, 5119, 24575, 114687, 524287, 2359295, 10485759, 46137343, 201326591, 872415231, 3758096383, 16106127359, 68719476735, 292057776127, 1236950581247, 5222680231935, 21990232555519, 92358976733183, 387028092977151, 1618481116086271, 6755399441055743
Offset: 0

Views

Author

Jason Earls, Apr 05 2001

Keywords

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[(1 - 6 x + 28 x^2 - 32 x^3)/((1 - x) (1 - 4 x)^2), {x, 0, 21}], x] (* Michael De Vlieger, Jan 04 2020 *)
  • PARI
    a(n) = { abs(n*4^n - 1) } \\ Harry J. Smith, Jul 04 2009

Formula

G.f.: (1 - 6*x + 28*x^2 - 32*x^3)/((1 - x)*(1 - 4*x)^2). - Colin Barker, Apr 22 2012
From Elmo R. Oliveira, May 05 2025: (Start)
E.g.f.: 2 + exp(x)*(4*x*exp(3*x) - 1).
a(n) = A018215(n) - 1 for n >= 1.
a(n) = 9*a(n-1) - 24*a(n-2) + 16*a(n-3) for n > 3. (End)