cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A030392 Length of n-th run of digit 0 in A030386.

This page as a plain text file.
%I A030392 #23 Jul 23 2025 00:55:03
%S A030392 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,
%T A030392 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,
%U A030392 2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1
%N A030392 Length of n-th run of digit 0 in A030386.
%C A030392 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
%H A030392 R. J. Mathar, <a href="/A030392/b030392.txt">Table of n, a(n) for n = 1..761</a>
%t A030392 Length/@(If[#[[1]]>0,Nothing,#]&/@Split[Flatten[Table[Reverse[IntegerDigits[n,4]],{n,0,300}]]]) (* _Harvey P. Dale_, Apr 18 2024 *)
%K A030392 nonn,base
%O A030392 1,5
%A A030392 _Clark Kimberling_
%E A030392 Initial 1 inserted for consistency with change in A030386 by _Sean A. Irvine_, Mar 31 2020