A354040 a(n) is the least k such that A353709(k) has Hamming weight n.
0, 1, 5, 17, 73, 245, 1037, 4624, 11829, 30940, 116701, 374756, 1205149, 2643792, 7516934, 27309591, 102243621
Offset: 0
Examples
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.
Links
- Rémy Sigrist, C++ program
Comments