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

Primes p such that p+6 and p+12 are composite.
2

%I #11 Dec 10 2013 14:18:12

%S 2,3,43,79,109,113,149,163,197,241,283,293,313,317,349,359,379,401,

%T 439,463,499,521,523,547,569,577,599,617,643,659,673,683,691,701,709,

%U 719,743,769,773,787,829,839,859,863,883,887,911,919,937,953,967,983,1031

%N Primes p such that p+6 and p+12 are composite.

%C Subsequence of A140555: a(3) = 43 = A140555(5), a(1000) = 18503 = A140555(1468).

%H Zak Seidov, <a href="/A233314/b233314.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[200]], ! PrimeQ[# + 6] && ! PrimeQ[# + 12] &] (* _T. D. Noe_, Dec 10 2013 *)

%Y Cf. A140555.

%K nonn

%O 1,1

%A _Zak Seidov_, Dec 07 2013