login
A024712
a(n) = residue mod 3 of n-th term of A024702.
1
1, 2, 2, 1, 0, 0, 1, 2, 1, 0, 1, 2, 2, 0, 1, 2, 1, 0, 0, 2, 2, 0, 2, 2, 1, 0, 0, 1, 0, 1, 2, 1, 1, 2, 1, 0, 1, 2, 0, 0, 2, 1, 0, 0, 1, 2, 2, 1, 0, 1, 2, 0, 1, 2, 0, 0, 2, 2, 1, 1, 0, 1, 2, 2, 2, 1, 1, 2, 2, 0, 2, 1, 0, 1, 2, 0, 1, 1, 1, 2, 0, 0, 2, 2, 0, 2, 2, 1, 0, 2, 0, 1, 1, 0, 1, 0, 0, 0, 2, 0, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0, 1
OFFSET
3,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 3..10000
PROG
(PARI) a(n)=prime(n)^2\24%3 \\ Charles R Greathouse IV, May 31 2013
CROSSREFS
Sequence in context: A369245 A353310 A347883 * A281497 A198243 A164965
KEYWORD
nonn
STATUS
approved