OFFSET
1,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A000010(n) mod 3.
MATHEMATICA
Table[Mod[EulerPhi[n], 3], {n, 100}] (* Vincenzo Librandi, Sep 04 2015 *)
PROG
(PARI) a(n)=eulerphi(n)%3
(Magma) [EulerPhi(n) mod 3: n in [1..110]]; // Vincenzo Librandi, Sep 04 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Oct 04 2002
STATUS
approved