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 A044951 #33 Apr 14 2021 08:56:32 %S A044951 1,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29, %T A044951 30,31,32,33,34,36,39,40,43,45,46,47,48,51,53,54,55,57,58,59,60,61,62, %U A044951 63,64,65,66,67,68,69,70,71,72,73,74,75,76,77 %N A044951 Numbers having a different number of ones and zeros in base 2. %H A044951 Michael De Vlieger, <a href="/A044951/b044951.txt">Table of n, a(n) for n = 1..14031</a> (all terms k <= 2^14). %H A044951 Jason Bell, Thomas Finn Lidbetter, and Jeffrey Shallit, <a href="https://arxiv.org/abs/1804.07996">Additive Number Theory via Approximation by Regular Languages</a>, arXiv:1804.07996 [cs.FL], 2018. %H A044951 Thomas Finn Lidbetter, <a href="https://uwspace.uwaterloo.ca/bitstream/handle/10012/14254/Lidbetter_Thomas.pdf">Counting, Adding, and Regular Languages</a>, Master's Thesis, University of Waterloo, Ontario, Canada, 2018. %H A044951 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %F A044951 a(n) ~ n. - _Charles R Greathouse IV_, Apr 18 2020 %e A044951 From _Michael De Vlieger_, Feb 07 2019: (Start) %e A044951 11 (binary 1011) has more 1's than 0's, thus it is in the sequence. %e A044951 12 (binary 1100) has an equal number of 0's and 1's, thus it is not in the sequence. %e A044951 (End) %t A044951 Select[Range@ 77, UnsameQ @@ DigitCount[#, 2] &] (* _Michael De Vlieger_, Feb 07 2019 *) %o A044951 (PARI) is(n)=2*hammingweight(n)!=exponent(n)+1 \\ _Charles R Greathouse IV_, Apr 18 2020 %Y A044951 Cf. A072600 (#0's < #1's), A072601 (#0's <= #1's), A031443 (#0's = #1's). %Y A044951 Cf. A072602 (#0's >= #1's), A072603 (#0's > #1's), this sequence (#0's <> #1's). %K A044951 nonn,base,easy %O A044951 1,2 %A A044951 _Clark Kimberling_