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.

A352884 Binary weight of A109812(n).

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 3, 1, 3, 2, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 4, 1, 3, 3, 2, 3, 3, 2, 3, 3, 2, 4, 2, 4, 2, 3, 3, 3, 3, 2, 4, 3, 1, 4, 3, 2, 4, 3, 2, 4, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 2, 4, 3, 3, 4, 2, 5, 2, 4, 2, 4, 3, 3, 4, 3, 4, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 3, 4, 3, 3, 4, 3, 5, 1, 5, 3
Offset: 1

Views

Author

Antti Karttunen, Apr 07 2022

Keywords

Comments

Equivalently, binary weight of A352575.

Crossrefs

Programs

  • PARI
    v109812 = readvec("b109812_to10e5.txt"); \\ Prepared from b-file data with gawk ' { print $2 } '
    up_to = #v109812;
    A109812(n) = v109812[n];
    A352884(n) = hammingweight(A109812(n));

Formula

a(n) = A000120(A109812(n)) = A000120(A351965(n)).