login
A024713
a(n) = residue mod 5 of n-th term of A024702.
1
1, 2, 0, 2, 2, 0, 2, 0, 0, 2, 0, 2, 2, 2, 0, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 2, 0, 2, 2, 0, 2, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 2, 2, 0, 0, 2, 2, 0, 2, 0, 0, 0, 2, 2, 0, 0, 2, 0, 2, 2, 2, 0, 2, 2, 0, 2, 2, 0, 2, 0, 2, 2, 0, 2, 0, 2, 0, 0, 0, 0, 0, 2, 0, 2, 0, 2, 0, 2, 2, 0, 2, 0, 0, 2, 0, 0, 2, 0, 2, 2, 2, 0, 0, 2, 2, 2, 0, 0, 2, 2, 2
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%5 \\ Charles R Greathouse IV, May 31 2013
CROSSREFS
Sequence in context: A088627 A230205 A334841 * A361166 A123530 A161516
KEYWORD
nonn
STATUS
approved