OFFSET
1,4
COMMENTS
a(1) = 0, for n >=2: a(n) = sum of perfect divisors of n less than n.
a(n) > 0 for perfect powers n = A001597(m) for m > 2.
LINKS
FORMULA
a(n) = A175067(n) - n.
MAPLE
a:= n-> add(`if`(n=d^ilog[d](n), d, 0), d=numtheory[divisors](n) minus {n}):
seq(a(n), n=1..100); # Alois P. Heinz, Dec 12 2024
PROG
(PARI) A175070(n) = if(!ispower(n), 0, sumdiv(n, d, if((d>1)&&(d<n)&&((d^valuation(n, d))==n), d, 0))); \\ Antti Karttunen, Jun 12 2018
(PARI) first(n) = {my(res = vector(n)); for(i = 2, sqrtint(n), for(j = 2, logint(n, i), res[i^j] += i)); res} \\ David A. Corneth, Jun 12 2018
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Jaroslav Krizek, Jan 23 2010
STATUS
approved