login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A354040
a(n) is the least k such that A353709(k) has Hamming weight n.
2
0, 1, 5, 17, 73, 245, 1037, 4624, 11829, 30940, 116701, 374756, 1205149, 2643792, 7516934, 27309591, 102243621
OFFSET
0,3
COMMENTS
This sequence is strictly increasing.
EXAMPLE
For n = 3:
- the first terms of A353709, alongside their Hamming weight, are:
k | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
A353709(k) | 0, 1, 2, 4, 8, 3, 16, 12, 32, 17, 6, 40, 64, 5, 10, 48, 65, 14
h(A353709(k)) | 0, 1, 1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 3
- the first term of A353709 with Hamming weight 3 is A353709(17) = 14,
- so a(3) = 17.
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Rémy Sigrist, May 15 2022
STATUS
approved