login
Non-cuban primes.
3

%I #5 Jan 30 2013 20:48:14

%S 2,3,5,11,13,17,23,29,31,41,43,47,53,59,67,71,73,79,83,89,97,101,103,

%T 107,109,113,131,137,139,149,151,157,163,167,173,179,181,191,193,197,

%U 199,211,223,227,229,233,239,241,251,257,263,269,277,281,283,293

%N Non-cuban primes.

%C Primes not in A002407.

%H T. D. Noe, <a href="/A221717/b221717.txt">Table of n, a(n) for n = 1..1000</a>

%t nn = 10; c = Select[Table[3 x^2 + 3 x + 1, {x, nn}], PrimeQ[#] &]; Complement[Prime[Range[PrimePi[c[[-1]]]]], c] (* _T. D. Noe_, Jan 30 2013 *)

%Y Cf. A002407, A007645, A003627.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Jan 29 2013