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 A356876 #25 Oct 05 2022 15:40:18 %S A356876 1,2,1,2,2,2,3,4,1,2,2,3,3,2,3,3,4,3,4,1,2,2,3,2,3,4,2,3,3,4,4,2,3,3, %T A356876 4,3,4,5,3,4,4,4,5,6,1,2,2,2,3,3,2,3,4,3,4,4,2,3,3,3,4,4,5,3,4,5,4,5, %U A356876 5,6,2,3,4,3,4,3,4,4,4,5,6,3,4,5,4,5,5,6,4,5,5 %N A356876 Binary weight of the composite numbers (A002808). %H A356876 Karl-Heinz Hofmann, <a href="/A356876/b356876.txt">Table of n, a(n) for n = 1..10000</a> %F A356876 a(n) = A000120(A002808(n)). %t A356876 DigitCount[#, 2, 1] & /@ Select[Range[125], CompositeQ] (* _Amiram Eldar_, Oct 03 2022 *) %o A356876 (Python) %o A356876 from sympy import isprime %o A356876 print([bin(k)[2:].count("1") for k in range(4, 123) if not isprime(k)]) %o A356876 (PARI) forcomposite (k=0, 120, print1 (hammingweight(k),", ")) \\ _Hugo Pfoertner_, Oct 03 2022 %Y A356876 Cf. A002808, A000120, A014499. %K A356876 base,nonn,easy %O A356876 1,2 %A A356876 _Karl-Heinz Hofmann_, Oct 02 2022