login
A324379
a(n) = A007814(A005187(n)).
2
0, 0, 2, 0, 3, 1, 0, 0, 4, 1, 0, 1, 0, 0, 1, 0, 5, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 3, 0, 0, 6, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 3, 0, 1, 0, 0, 1, 0, 1, 3, 0, 0, 1, 4, 0, 2, 0, 0, 3, 0, 7, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 3, 0, 1, 0, 0, 1, 0, 1, 3, 0, 0, 1, 4, 0, 2, 0, 0, 3, 1, 0, 0, 1, 0, 1, 3, 0, 0, 1
OFFSET
1,3
FORMULA
a(n) = A007814(A005187(n)).
PROG
(PARI) A324379(n) = { my(s=n); while(n>>=1, s+=n); valuation(s, 2); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 28 2019
STATUS
approved