OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
a(n) = A342926(n) mod 3.
MATHEMATICA
ad[1] = 0; ad[n_] := n * Total@(Last[#]/First[#]& /@ FactorInteger[n]); a[n_] := Mod[ad[DivisorSigma[1, n]] - n, 3]; Array[a, 105] (* Amiram Eldar, Sep 18 2021 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 18 2021
STATUS
approved