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 A371571 #11 Apr 04 2024 15:39:37 %S A371571 1,0,2,0,2,3,2,3,0,2,3,4,2,3,2,4,2,3,4,3,4,0,2,3,4,5,2,3,4,2,3,5,2,3, %T A371571 2,4,5,2,4,2,5,2,3,4,5,3,4,3,5,3,4,5,4,5,0,2,3,4,5,6,2,3,4,5,2,3,4,6, %U A371571 2,3,4,2,3,5,6,2,3,5,2,3,6,2,3,2,4,5,6 %N A371571 Irregular triangle read by rows: row n lists the 1-based positions (starting from the left) of zeros in the binary expansion of n, or 0 if the binary expansion of n contains only ones. %H A371571 Paolo Xausa, <a href="/A371571/b371571.txt">Table of n, a(n) for n = 0..10384</a> (rows 0..2200 of the triangle, flattened). %e A371571 Triangle begins: %e A371571 [0] 1; %e A371571 [1] 0; %e A371571 [2] 2; %e A371571 [3] 0; %e A371571 [4] 2, 3; %e A371571 [5] 2; %e A371571 [6] 3; %e A371571 [7] 0; %e A371571 [8] 2, 3, 4; %e A371571 ... %e A371571 Row n = 50 is 3, 4, 6: %e A371571 binary expansion of 50: 1 1 0 0 1 0 %e A371571 positions of zeros: - - 3 4 - 6 %t A371571 Array[Replace[Flatten[Position[IntegerDigits[#, 2], 0]], {} -> {0}] &, 50, 0] %Y A371571 Cf. A359359 (row sums), A371572 (position of ones). %Y A371571 Cf. A368494. %K A371571 nonn,base,tabf,easy %O A371571 0,3 %A A371571 _Paolo Xausa_, Mar 28 2024