OFFSET
1,1
COMMENTS
Also numbers n of the form 2p such that p and p+4 are prime.
n is congruent to 2 modulo 3 for n > 6.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 2*A023200(n). - R. J. Mathar, Jun 23 2011
MATHEMATICA
Select[Range[2, 3000, 2], PrimeOmega[#]==2&&PrimeQ[FactorInteger[#][[-1, 1]]+4]&] (* Harvey P. Dale, Mar 09 2021 *)
PROG
(Magma) [ 2*p: p in PrimesUpTo(1500) | IsPrime(p+4) ]; // Klaus Brockhaus, Jun 26 2011
(PARI) forprime(p=2, 1e3, if(isprime(p+4), print1(p+p", "))) \\ Charles R Greathouse IV, Jun 26 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Oct 03 2009, Jun 26 2011
EXTENSIONS
Definition clarified by Harvey P. Dale, Jul 14 2021
STATUS
approved