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”).

a(n) = residue mod 5 of n-th term of A024702.
1

%I #5 May 31 2013 00:32:14

%S 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,

%T 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,

%U 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

%N a(n) = residue mod 5 of n-th term of A024702.

%H Charles R Greathouse IV, <a href="/A024713/b024713.txt">Table of n, a(n) for n = 3..10000</a>

%o (PARI) a(n)=prime(n)^2\24%5 \\ _Charles R Greathouse IV_, May 31 2013

%K nonn

%O 3,2

%A _Clark Kimberling_