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 A332997 #7 Mar 10 2020 00:29:27 %S A332997 0,1,1,1,1,2,1,2,1,1,2,3,1,1,2,2,1,2,1,2,2,2,3,4,1,2,1,1,2,3,2,3,1,1, %T A332997 2,3,1,1,2,2,2,3,2,3,3,3,4,5,1,1,2,2,1,2,1,1,2,2,3,4,2,2,3,3,1,2,1,2, %U A332997 2,2,3,4,1,2,1,1,2,3,2,3,2,2,3,4,2,2,3,3,3,4,3,4,4,4,5,6,1,2,1,1,2,3,2,3,1,1 %N A332997 a(n) = A000120(A332995(n)). %C A332997 It seems that a(A055010(n)) = n for all n >= 0, and apart from n=1, A055010 seems to give the first occurrence of each n in this sequence. %H A332997 Antti Karttunen, <a href="/A332997/b332997.txt">Table of n, a(n) for n = 0..65537</a> %H A332997 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %F A332997 a(n) = A000120(A332995(n)) = A332897(A332817(n)). %F A332997 a(n) = A000120(n) - A332998(n). %o A332997 (PARI) A332997(n) = hammingweight(A332995(n)); %o A332997 (PARI) A332997(n) = A332897(A332817(n)); %Y A332997 Cf. A000120, A332817, A332897, A332995, A332998. %Y A332997 Cf. A052940, A055010. %K A332997 nonn %O A332997 0,6 %A A332997 _Antti Karttunen_, Mar 05 2020