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.

A255395 Number of distinct terms in row n of A255313.

Original entry on oeis.org

1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 7, 7, 7, 8, 9, 9, 9, 10, 10, 11, 12, 12, 13, 13, 13, 14, 13, 13, 14, 15, 15, 16, 17, 17, 18, 19, 19, 18, 19, 19, 20, 21, 20, 21, 22, 22, 21, 22, 22, 23, 24, 24, 25, 26, 26, 27, 27, 28, 27, 26, 25, 26, 27, 24, 25, 26, 26, 27, 28
Offset: 1

Views

Author

Reinhard Zumkeller, Feb 22 2015

Keywords

Comments

Row lengths for table A255316;
a(n) = A001221(A255427(n)) = A001222(A255427(n)).

Crossrefs

Programs

  • Haskell
    import Data.List (nub)
    a255395 = length . nub . a255313_row