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.

A262564 A politician's answer to the question "What comes next after 2,3,5?".

Original entry on oeis.org

2, 3, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75
Offset: 1

Views

Author

N. J. A. Sloane, Oct 19 2015

Keywords

Comments

The politician plans to legislate away the mistakes of the past and return to normalcy.

Crossrefs

Cf. A262565.

Programs

  • Haskell
    a262564 n = a262564_list !! (n-1)
    a262564_list = [2, 3, 5, 4] ++ [6..]  -- Reinhard Zumkeller, Oct 20 2015
  • Mathematica
    CoefficientList[Series[(- x^5 + 3 x^4 - 3 x^3 + x^2 - x + 2)/(x - 1)^2, {x, 0, 75}], x] (* Vincenzo Librandi, Nov 04 2016 *)
    LinearRecurrence[{2,-1},{2,3,5,4,6,7},80] (* Harvey P. Dale, Jul 31 2021 *)

Formula

G.f.: x*(-x^5 + 3*x^4 - 3*x^3 + x^2 - x + 2)/(x - 1)^2. - Chai Wah Wu, Nov 03 2016