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.

A200738 Greatest number such that in the triangle A200737 the first terms in row n coincide with row n+1.

Original entry on oeis.org

1, 2, 4, 6, 8, 11, 14, 16, 20, 23, 26, 31, 35, 38, 43, 48, 51, 57, 63, 65, 72, 78, 83, 89, 94, 100, 107, 113, 118, 126, 133, 137, 146, 153, 158, 167, 175, 180, 190, 197, 203, 213, 221, 227, 234, 245, 253, 262, 271, 276, 288, 296, 304, 316, 323, 329, 342, 354
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 21 2011

Keywords

Comments

Shorter rows in A200737 are contained in longer rows; a(n) gives length of common initial segments of consecutive rows: A200737(n,k) = A200737(n+1,k) for k <= a(n).

Crossrefs

Cf. A200742.

Programs

  • Haskell
    a200738 n = a200738_list !! (n-1)
    a200738_list = f a200737_tabl where
       f (rs:rss'@(rs':rss)) =
         (length $ takeWhile (== EQ) $ zipWith compare rs rs') : f rss'