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.

A006492 Generalized Lucas numbers.

Original entry on oeis.org

1, 0, 5, 6, 21, 40, 93, 190, 396, 796, 1586, 3108, 6025, 11552, 21947, 41346, 77311, 143580, 265013, 486398, 888122, 1613944, 2920100, 5261880, 9445905, 16897328, 30127665, 53552190, 94915273, 167771168, 295794125, 520254094, 912962120, 1598652948
Offset: 3

Views

Author

Keywords

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Programs

  • Maple
    A006492:=(1-2*z+2*z**2)*(z-1)**2/(z**2+z-1)**4; # Simon Plouffe in his 1992 dissertation.
  • Mathematica
    CoefficientList[Series[(1 - x)^2 (1 - 2 x + 2 x^2) / (1 - x - x^2)^4, {x, 0, 33}], x] (* Vincenzo Librandi, Apr 26 2017 *)

Formula

G.f.: [(1-x)^2(1-2x+2x^2)]/[(1-x-x^2)^4]. - Ralf Stephan, Apr 23 2004