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.

Original entry on oeis.org

0, 1, 3, 14, 30, 31, 252, 508, 1020, 511, 1535, 2047, 4095, 8191, 16383, 49151, 65535
Offset: 0

Views

Author

Rémy Sigrist, May 15 2022

Keywords

Comments

This sequence is not strictly increasing.

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) = 14.
		

Crossrefs

Formula

a(n) = A353709(A354040(n)).