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 A107782 #11 Mar 31 2015 17:18:29 %S A107782 0,0,0,0,1,0,0,0,2,1,0,0,1,0,0,0,3,2,1,1,1,0,0,0,2,1,0,0,1,0,0,0,4,3, %T A107782 2,2,2,1,1,1,2,1,0,0,1,0,0,0,3,2,1,1,1,0,0,0,2,1,0,0,1,0,0,0,5,4,3,3, %U A107782 3,2,2,2,3,2,1,1,2,1,1,1,3,2,1,1,1,0,0,0,2,1,0,0,1,0,0,0,4,3,2,2,2,1,1,1,2 %N A107782 In binary representation of n: (number of zeros) minus (number of blocks of contiguous zeros). %C A107782 a(n) = A023416(n) - A087116(n); a(A003754(n)) = 0. %H A107782 Reinhard Zumkeller, <a href="/A107782/b107782.txt">Table of n, a(n) for n = 0..10000</a> %H A107782 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %o A107782 (Haskell) %o A107782 a107782 n = a023416 n - a087116 n -- _Reinhard Zumkeller_, Mar 31 2015 %Y A107782 Cf. A007088, A107345. %Y A107782 Cf. A056973. - _R. J. Mathar_, Aug 24 2008 %Y A107782 Cf. A023416, A087116, A003754. %K A107782 nonn %O A107782 0,9 %A A107782 _Reinhard Zumkeller_, May 25 2005