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.

A132157 a(n) = number of times n occurs in A063882.

Original entry on oeis.org

4, 1, 1, 1, 2, 2, 1, 2, 2, 1, 3, 2, 1, 2, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2, 2, 2, 3, 2, 1, 3, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2
Offset: 1

Views

Author

N. J. A. Sloane, Nov 06 2007

Keywords

Comments

a(A202016(n)) = 1. [Reinhard Zumkeller, Dec 08 2011]

Programs

  • Haskell
    import Data.List (group)
    a132157 n = a132157_list !! (n-1)
    a132157_list = (map length) (group a063882_list)
    -- Reinhard Zumkeller, Dec 08 2011