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

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

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

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

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

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

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

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

%K nonn

%O 3,2

%A _Clark Kimberling_