cp's OEIS Frontend

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.

A354040 a(n) is the least k such that A353709(k) has Hamming weight n.

This page as a plain text file.
%I A354040 #9 May 19 2022 16:42:20
%S A354040 0,1,5,17,73,245,1037,4624,11829,30940,116701,374756,1205149,2643792,
%T A354040 7516934,27309591,102243621
%N A354040 a(n) is the least k such that A353709(k) has Hamming weight n.
%C A354040 This sequence is strictly increasing.
%H A354040 Rémy Sigrist, <a href="/A354040/a354040.txt">C++ program</a>
%e A354040 For n = 3:
%e A354040 - the first terms of A353709, alongside their Hamming weight, are:
%e A354040   k             | 0, 1, 2, 3, 4, 5, 6,  7,  8,  9,  10, 11, 12, 13, 14, 15, 16, 17
%e A354040   A353709(k)    | 0, 1, 2, 4, 8, 3, 16, 12, 32, 17, 6,  40, 64, 5,  10, 48, 65, 14
%e A354040   h(A353709(k)) | 0, 1, 1, 1, 1, 2, 1,  2,  1,  2,  2,  2,  1,  2,  2,  2,  2,  3
%e A354040 - the first term of A353709 with Hamming weight 3 is A353709(17) = 14,
%e A354040 - so a(3) = 17.
%o A354040 (C++) See Links section.
%Y A354040 Cf. A000120, A353709, A354041.
%K A354040 nonn,base,more
%O A354040 0,3
%A A354040 _Rémy Sigrist_, May 15 2022