login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A251548
Lengths of runs of identical terms in A251546.
2
1, 2, 6, 6, 15, 2, 6, 2, 7, 8, 13, 2, 2, 7, 2, 13, 2, 5, 2, 6, 5, 2, 11, 5, 2, 8, 2, 2, 2, 5, 5, 2, 15, 2, 2, 2, 4, 2, 2, 2, 13, 2, 2, 2, 5, 7, 2, 4, 2, 8, 2, 2, 2, 3, 4, 8, 2, 2, 2, 2, 2, 14, 2, 2, 2, 2, 10, 2, 2, 2, 2
OFFSET
1,2
PROG
(Haskell)
import Data.List (group)
a251548 n = a251548_list !! (n-1)
a251548_list = map length $ group $ map a251546 [1..]
-- Reinhard Zumkeller, Dec 19 2014
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 18 2014
STATUS
approved