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.

A354041 a(n) is the earliest term of A353709 with Hamming weight n.

This page as a plain text file.
%I A354041 #7 May 19 2022 16:42:15
%S A354041 0,1,3,14,30,31,252,508,1020,511,1535,2047,4095,8191,16383,49151,65535
%N A354041 a(n) is the earliest term of A353709 with Hamming weight n.
%C A354041 This sequence is not strictly increasing.
%H A354041 Rémy Sigrist, <a href="/A354041/a354041.txt">C++ program</a>
%F A354041 a(n) = A353709(A354040(n)).
%e A354041 For n = 3:
%e A354041 - the first terms of A353709, alongside their Hamming weight, are:
%e A354041   k             | 0, 1, 2, 3, 4, 5, 6,  7,  8,  9,  10, 11, 12, 13, 14, 15, 16, 17
%e A354041   A353709(k)    | 0, 1, 2, 4, 8, 3, 16, 12, 32, 17, 6,  40, 64, 5,  10, 48, 65, 14
%e A354041   h(A353709(k)) | 0, 1, 1, 1, 1, 2, 1,  2,  1,  2,  2,  2,  1,  2,  2,  2,  2,  3
%e A354041 - the first term of A353709 with Hamming weight 3 is A353709(17) = 14,
%e A354041 - so a(3) = 14.
%o A354041 (C++) See Links section.
%Y A354041 Cf. A000120, A353709, A354040.
%K A354041 nonn,base,more
%O A354041 0,3
%A A354041 _Rémy Sigrist_, May 15 2022