login
Lengths of runs in A100060.
5

%I #10 Oct 29 2018 02:40:35

%S 1,1,1,1,1,2,1,1,2,2,1,1,3,1,2,1,1,1,1,2,1,3,2,1,1,1,2,2,1,2,1,1,1,2,

%T 2,1,1,1,2,2,1,1,1,1,1,1,1,1,2,1,2,1,3,1,1,2,1,1,1,1,1,1,1,2,2,2,1,1,

%U 1,3,2,1,1,1,1,1,1,1,1,1,2,1,1,2,1,2,2,1,2,1,1,1,1,1,2,1,2,3,1,3,1,1,2,1,2

%N Lengths of runs in A100060.

%C The first case of exactly n consecutive ones occurs in A100060 at 1, 10, 16, 688, 1246, 29237, 13898, ....

%C The first case of exactly n consecutive zeros occurs in A100060 at 2, 6, 29, 276, 1529, 34277, ....

%t zz = { (* the list of values in the link *) }; yy = Drop[zz, 1] - Drop[zz, -1]; xx = Drop[yy, 1] - Drop[yy, -1]; Length /@ Split[Join[{1}, Table[ If[xx[[n]] > 0, 1, 0], {n, 145}]]]

%Y Cf. A100060, A102524.

%K nonn

%O 1,6

%A _Gary W. Adamson_ and _Robert G. Wilson v_, Jan 13 2005