A354906 Position of first appearance of n in A354579 = Number of distinct run-lengths of standard compositions.
0, 1, 11, 119, 5615, 251871
Offset: 0
Examples
The terms together with their corresponding compositions begin: 0: () 1: (1) 11: (2,1,1) 119: (1,1,2,1,1,1) 5615: (2,2,1,1,1,2,1,1,1,1) 251871: (1,1,1,2,2,1,1,1,1,2,1,1,1,1,1)
Crossrefs
Programs
-
Mathematica
stc[n_]:=Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse; pd=Table[Length[Union[Length/@Split[stc[n]]]],{n,0,10000}]; Table[Position[pd,n][[1,1]]-1,{n,0,Max@@pd}]
Comments