OFFSET
1,4
LINKS
PROG
(PARI)
A033879(n) = (n+n-sigma(n));
memoA323910 = Map();
A323910(n) = if(1==n, 1, my(v); if(mapisdefined(memoA323910, n, &v), v, v = -sumdiv(n, d, if(d<n, A033879(n/d)*A323910(d), 0)); mapput(memoA323910, n, v); (v)));
A003961(n) = { my(f=factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
CROSSREFS
KEYWORD
sign,new
AUTHOR
Antti Karttunen, Dec 11 2024
STATUS
approved