OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
MATHEMATICA
Table[Total[Select[Divisors[n], EvenQ[#]&&SquareFreeQ[#]&]], {n, 100}] (* Harvey P. Dale, May 18 2019 *)
f[2, e_] := 2; f[p_, e_] := p + 1; a[n_] := If[OddQ[n], 0, Times @@ f @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Jun 30 2022 *)
PROG
(PARI) A319697(n) = sumdiv(n, d, (!(d%2))*issquarefree(d)*d);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 31 2018
STATUS
approved