login
A030347
Length of n-th run of digit 1 in A030341.
0
1, 3, 1, 1, 2, 1, 1, 5, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 3, 2, 2, 7, 3, 3, 2, 2, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 4, 1, 2, 1
OFFSET
1,2
MATHEMATICA
Length/@Select[Split[Flatten[Table[Reverse[IntegerDigits[n, 3]], {n, 0, 100}]]], First[#]==1&] (* Harvey P. Dale, Oct 20 2014 *)
CROSSREFS
Sequence in context: A307790 A189965 A258820 * A010275 A176494 A157229
KEYWORD
nonn,base
STATUS
approved