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.

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

Original entry on oeis.org

2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5, 3, 2, 2, 3, 5, 5
Offset: 1

Views

Author

N. J. A. Sloane, Oct 19 2015

Keywords

Comments

a(n+1) - a(n) = A186809(n). - Reinhard Zumkeller, Oct 19 2015

Crossrefs

Programs

  • Haskell
    a262565 n = a262565_list !! (n-1)
    a262565_list = cycle [2,3,5,5,3,2] -- Reinhard Zumkeller, Oct 19 2015
  • Mathematica
    t = Prime@ Range@ 3; Flatten@ Table[{t, Reverse@ t}, {16}] (* Michael De Vlieger, Oct 20 2015 *)
    PadRight[{},120,{2,3,5,5,3,2}] (* or *) LinearRecurrence[{1,-1,1,-1,1},{2,3,5,5,3},120] (* Harvey P. Dale, Sep 19 2016 *)

Extensions

Typo in link fixed by Zak Seidov, Oct 20 2015