|
%I
%S 1,3,5,7,9,10,13,15,16,17,20,23,24,26,28,30,32,33,35,39,40,41,43,45,
%T 49,51,52,54,55,56,57,60,62,64,66,69,71,72,76,77,79,81,83,86,87,89,91,
%U 92,94,96,97,98,102,103,104,107,108,109,113,116,118,119,120,123,124,126
%N Numbers n such that the n-th prime is of the form 3k-1.
%C A003627 indexed by A000040.
%F a(n)=k such that A000040(k) = A003627(n).
%t PrimePi/@Select[3Range[0,250]-1,PrimeQ] (* From Harvey P. Dale, Apr 26 2011 *)
%Y A003627 gives primes arising in A024893, A087370, A088879.
%Y A133677 is another version.
%K easy,nonn
%O 1,2
%A _Ray Chandler_, Dec 26 2003
|