OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
FORMULA
MATHEMATICA
f1[p_, e_] := (p^(e + 1) - 1)/(p - 1); f2[p_, e_] := p^Mod[e, 2]; a[n_] := Module[{f = FactorInteger[n]}, Times @@ f1 @@@ f - Times @@ f2 @@@ f - n]; a[1] = -1; Array[a, 100] (* Amiram Eldar, Mar 21 2024 *)
PROG
(PARI) A326127(n) = (sigma(n)-core(n)-n);
CROSSREFS
KEYWORD
sign
AUTHOR
Antti Karttunen, Jun 09 2019
STATUS
approved