OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Teerapat Srichan, Averages of the Dirichlet convolution of the binary digital sum, Notes on Number Theory and Discrete Mathematics, Vol. 25, No. 1 (2019), pp. 122—127.
FORMULA
MATHEMATICA
s[n_] := DigitCount[n, 2, 1]; a[n_] := DivisorSum[n, s[#] * s[n/#] &]; Array[a, 100]
PROG
(PARI) a(n) = sumdiv(n, d, hammingweight(d)*hammingweight(n/d)); \\ Michel Marcus, Nov 23 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Nov 23 2021
STATUS
approved