login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A354040 a(n) is the least k such that A353709(k) has Hamming weight n. 2

%I #9 May 19 2022 16:42:20

%S 0,1,5,17,73,245,1037,4624,11829,30940,116701,374756,1205149,2643792,

%T 7516934,27309591,102243621

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

%C This sequence is strictly increasing.

%H Rémy Sigrist, <a href="/A354040/a354040.txt">C++ program</a>

%e For n = 3:

%e - the first terms of A353709, alongside their Hamming weight, are:

%e k | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17

%e A353709(k) | 0, 1, 2, 4, 8, 3, 16, 12, 32, 17, 6, 40, 64, 5, 10, 48, 65, 14

%e h(A353709(k)) | 0, 1, 1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 3

%e - the first term of A353709 with Hamming weight 3 is A353709(17) = 14,

%e - so a(3) = 17.

%o (C++) See Links section.

%Y Cf. A000120, A353709, A354041.

%K nonn,base,more

%O 0,3

%A _Rémy Sigrist_, May 15 2022

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 17 20:00 EDT 2024. Contains 375990 sequences. (Running on oeis4.)