login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A324729
a(n) = A000120(A323243(n)).
2
0, 1, 2, 1, 3, 2, 4, 1, 2, 3, 5, 2, 6, 2, 2, 2, 7, 3, 8, 2, 4, 2, 9, 2, 3, 3, 2, 2, 10, 1, 11, 1, 4, 3, 3, 2, 12, 2, 2, 3, 13, 3, 14, 2, 2, 3, 15, 2, 4, 5, 6, 2, 16, 4, 5, 2, 2, 5, 17, 3, 18, 5, 4, 3, 6, 2, 19, 3, 4, 3, 20, 2, 21, 3, 3, 4, 4, 2, 22, 2, 2, 6, 23, 5, 3, 4, 4, 4, 24, 4, 4, 3, 6, 6, 4, 4, 25, 4, 2, 2, 26, 4, 27, 2, 2
OFFSET
1,3
FORMULA
a(n) = A000120(A323243(n)).
a(A000040(n)) = n.
PROG
(PARI) A324729(n) = hammingweight(A323243(n)); \\ Needs also code from A323243.
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 17 2019
STATUS
approved