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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A354041 a(n) is the earliest term of A353709 with Hamming weight n. 2
 0, 1, 3, 14, 30, 31, 252, 508, 1020, 511, 1535, 2047, 4095, 8191, 16383, 49151, 65535 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS This sequence is not strictly increasing. LINKS Rémy Sigrist, C++ program FORMULA a(n) = A353709(A354040(n)). 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) = 14. PROG (C++) See Links section. CROSSREFS Cf. A000120, A353709, A354040. Sequence in context: A085762 A057870 A256053 * A031049 A014696 A235137 Adjacent sequences:  A354038 A354039 A354040 * A354042 A354043 A354044 KEYWORD nonn,base,more AUTHOR Rémy Sigrist, May 15 2022 STATUS approved

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.

Last modified June 26 10:48 EDT 2022. Contains 354881 sequences. (Running on oeis4.)