OFFSET
1,6
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 negative numbers present, and negating, we get a(105) = -(-9) = 9.
PROG
(PARI) A318879(n) = sumdiv(n, d, d=d-(2*eulerphi(d)); (d>0)*d);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 05 2018
STATUS
approved