OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
FORMULA
MAPLE
with(numtheory):
a:= n-> add(`if`(nops(factorset(d))::odd, d, 0), d=divisors(n)):
seq(a(n), n=1..80); # Alois P. Heinz, Sep 21 2019
MATHEMATICA
a[n_] := DivisorSum[n, # &, OddQ[PrimeNu[#]] &]; Table[a[n], {n, 1, 70}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 21 2019
STATUS
approved