OFFSET
1,7
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
MAPLE
A074941:= n-> (numtheory[sigma](n) mod 3):
seq (A074941(n), n=1..105); # Jani Melik, Jan 26 2011
MATHEMATICA
a[n_] := Mod[DivisorSigma[1, n], 3]; Array[a, 100] (* Amiram Eldar, Jun 06 2022 *)
PROG
(PARI) a(n)=sigma(n)%3
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Oct 04 2002
STATUS
approved