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.

A200742 Greatest number such that in table A200741 the first terms in row n coincide with row n+1.

Original entry on oeis.org

1, 2, 4, 10, 7, 35, 33, 36, 31, 82, 17, 81, 78, 170, 55, 132, 28, 195, 247, 313, 439, 325, 415, 498, 376, 213, 161, 693, 608, 948, 739, 557, 831, 1007, 1252, 631, 1156, 1370, 148, 579, 1023, 1755, 1677, 1239, 1638, 1839, 2281, 2401, 1963, 2630, 2521, 2951
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 21 2011

Keywords

Comments

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

Crossrefs

Cf. A200738.

Programs

  • Haskell
    a200742 n = a200742_list !! (n-1)
    a200742_list = f a200741_tabl where
       f (rs:rss'@(rs':rss)) =
         (length $ takeWhile (== EQ) $ zipWith compare rs rs') : f rss'