login
A200738
Greatest number such that in the triangle A200737 the first terms in row n coincide with row n+1.
3
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,2
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).
LINKS
PROG
(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'
CROSSREFS
Cf. A200742.
Sequence in context: A186382 A331417 A077473 * A129896 A134421 A092777
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 21 2011
STATUS
approved