OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
EXAMPLE
n = 105 has divisors [1, 3, 5, 7, 15, 21, 35, 105]. When A083254 is applied to them, we obtain [1, 1, 3, 5, 1, 3, 13, -9]. Summing the positive numbers present, we get a(105) = 1+1+3+5+1+3+13 = 27.
PROG
(PARI) A318878(n) = sumdiv(n, d, d=(2*eulerphi(d))-d; (d>0)*d);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 05 2018
STATUS
approved