login
A030392
Length of n-th run of digit 0 in A030386.
1
1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1
OFFSET
1,5
COMMENTS
a(n) = A030379(n-1) for n=2..149 but then the alignment starts to diverge: a(149) = A030379(148) = 3 but a(150) = 1 whereas A030379(149) = 2. These runs of 0 are in the base 4 expansion of 260, which is 10010. - Andrei Zabolotskii, Jul 22 2025
LINKS
MATHEMATICA
Length/@(If[#[[1]]>0, Nothing, #]&/@Split[Flatten[Table[Reverse[IntegerDigits[n, 4]], {n, 0, 300}]]]) (* Harvey P. Dale, Apr 18 2024 *)
CROSSREFS
Sequence in context: A303825 A043280 A030379 * A165633 A349236 A117456
KEYWORD
nonn,base
EXTENSIONS
Initial 1 inserted for consistency with change in A030386 by Sean A. Irvine, Mar 31 2020
STATUS
approved