login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A024714
a(n) = residue mod 7 of n-th term of A024702.
1
1, 2, 5, 0, 5, 1, 1, 0, 5, 1, 0, 0, 1, 5, 5, 1, 5, 0, 5, 1, 0, 1, 0, 5, 1, 1, 5, 0, 0, 1, 5, 0, 1, 5, 5, 1, 0, 1, 5, 0, 1, 5, 0, 5, 0, 0, 5, 1, 1, 0, 5, 0, 1, 5, 5, 1, 5, 0, 5, 0, 0, 5, 1, 1, 1, 0, 5, 0, 5, 1, 5, 1, 0, 1, 5, 1, 1, 5, 0, 0, 5, 0, 1, 1, 0, 1, 0, 0, 1, 5, 5, 0, 1, 0, 1, 5, 1, 1, 0, 5, 5, 1, 5, 5, 0, 1, 5, 0, 1, 5, 0
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%7 \\ Charles R Greathouse IV, May 31 2013
CROSSREFS
Sequence in context: A215078 A067881 A307649 * A123342 A196816 A058204
KEYWORD
nonn
STATUS
approved