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.
%I A333767 #7 Apr 06 2020 22:12:52 %S A333767 0,0,1,0,2,0,0,0,3,0,1,0,0,0,0,0,4,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,5,0, %T A333767 1,0,2,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,1,0, %U A333767 2,0,0,0,2,0,1,0,0,0,0,0,1,0,1,0,1,0,0 %N A333767 Length of shortest run of zeros after a one in the binary expansion of n. a(0) = 0. %F A333767 For n > 0, a(n) = A333768(n) - 1. %e A333767 The binary expansion of 148 is (1,0,0,1,0,1,0,0), so a(148) = 1. %t A333767 stc[n_]:=Differences[Prepend[Join@@Position[Reverse[IntegerDigits[n,2]],1],0]]//Reverse; %t A333767 Table[If[n==0,0,Min@@stc[n]-1],{n,0,100}] %Y A333767 Positions of first appearances (ignoring index 0) are A000079. %Y A333767 Positions of terms > 0 are A022340. %Y A333767 Minimum prime index is A055396. %Y A333767 The maximum part minus 1 is given by A087117. %Y A333767 All of the following pertain to compositions in standard order (A066099): %Y A333767 - Length is A000120. %Y A333767 - Compositions without 1's are A022340. %Y A333767 - Sum is A070939. %Y A333767 - Product is A124758. %Y A333767 - Runs are counted by A124767. %Y A333767 - Strict compositions are A233564. %Y A333767 - Constant compositions are A272919. %Y A333767 - Runs-resistance is A333628. %Y A333767 - Maximum is A333766. %Y A333767 - Minimum is A333768. %Y A333767 - Weakly decreasing compositions are A114994. %Y A333767 - Weakly increasing compositions are A225620. %Y A333767 - Strictly decreasing compositions are A333255. %Y A333767 - Strictly increasing compositions are A333256. %Y A333767 Cf. A029931, A048793, A228351, A328594, A333217, A333218, A333219, A333632. %K A333767 nonn %O A333767 0,5 %A A333767 _Gus Wiseman_, Apr 06 2020