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 A303780 #7 May 12 2018 14:44:19 %S A303780 0,1,2,1,2,1,2,3,4,3,2,1,3,2,3,2,4,1,2,3,2,4,2,3,5,3,4,3,2,1,4,3,2,5, %T A303780 4,3,2,4,3,2,4,3,4,3,6,5,4,3,2,5,4,2,5,3,4,3,4,3,4,3,5,3,4,3,4,1,4,3, %U A303780 2,4,3,2,5,3,2,4,3,5,4,3,2,4,3,6,5,4,2,5,3,4,3,4,3,4,5,4,3,4,3,2,4,3,5,4,3,4 %N A303780 Binary weight of A303775(n). %H A303780 Antti Karttunen, <a href="/A303780/b303780.txt">Table of n, a(n) for n = 0..16383</a> %H A303780 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %F A303780 a(n) = A000120(A303775(n)). %F A303780 For all n >= 0, abs(a(n+1)-a(n)) = A000120(A303775(n+1) XOR A303775(n)), where XOR is a bitwise exclusive or, A003987. %o A303780 (PARI) A303780(n) = hammingweight(A303775(n)); \\ For other needed code, see A303775. %Y A303780 Cf. A000120, A303775, A303779. %Y A303780 Cf. also A304089. %K A303780 nonn,base %O A303780 0,3 %A A303780 _Antti Karttunen_, May 06 2018