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.

A081628 a(n) = 2*(-1)^n - (-5)^n.

Original entry on oeis.org

1, 3, -23, 123, -623, 3123, -15623, 78123, -390623, 1953123, -9765623, 48828123, -244140623, 1220703123, -6103515623, 30517578123, -152587890623, 762939453123, -3814697265623, 19073486328123, -95367431640623, 476837158203123, -2384185791015623, 11920928955078123
Offset: 0

Views

Author

Paul Barry, Mar 26 2003

Keywords

Comments

Inverse binomial transform of A081629.

Crossrefs

Programs

  • Magma
    [2*(-1)^n-(-5)^n: n in [0..25]]; // Vincenzo Librandi, Aug 09 2013
  • Mathematica
    CoefficientList[Series[(1 + 9 x) / ((1 + x) (1 + 5 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 09 2013 *)
    LinearRecurrence[{-6,-5},{1,3},30] (* Harvey P. Dale, Jan 08 2021 *)

Formula

G.f.: (1+9*x)/((1+x)*(1+5*x)).
E.g.f.: 2*exp(-x) - exp(-5*x).
a(n) = A033999(n)*(2 - A000351(n)). - Elmo R. Oliveira, Dec 05 2023