A327670 Sum of divisors of n that have an even number of distinct prime factors.
1, 1, 1, 1, 1, 7, 1, 1, 1, 11, 1, 19, 1, 15, 16, 1, 1, 25, 1, 31, 22, 23, 1, 43, 1, 27, 1, 43, 1, 32, 1, 1, 34, 35, 36, 73, 1, 39, 40, 71, 1, 42, 1, 67, 61, 47, 1, 91, 1, 61, 52, 79, 1, 79, 56, 99, 58, 59, 1, 64, 1, 63, 85, 1, 66, 62, 1, 103, 70, 60, 1, 169, 1, 75, 91
Offset: 1
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..20000
Programs
-
Maple
with(numtheory): a:= n-> add(`if`(nops(factorset(d))::even, d, 0), d=divisors(n)): seq(a(n), n=1..80); # Alois P. Heinz, Sep 21 2019
-
Mathematica
a[n_] := DivisorSum[n, # &, EvenQ[PrimeNu[#]] &]; Table[a[n], {n, 1, 75}]