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

A106079
Primes p such that 5*p + 6 and 6*p + 5 are primes.
1
7, 11, 13, 29, 37, 41, 79, 83, 97, 107, 113, 137, 139, 151, 163, 181, 193, 197, 239, 263, 347, 373, 389, 401, 421, 431, 443, 449, 487, 503, 541, 557, 643, 653, 701, 821, 839, 883, 911, 1033, 1051, 1093, 1129, 1163, 1201, 1217, 1259, 1283, 1303, 1373
OFFSET
1,1
LINKS
MAPLE
select(n -> isprime(n) and isprime(5*n+6) and isprime(6*n+5), [seq(2*i+1, i=1..1000)]); # Robert Israel, Aug 04 2014
MATHEMATICA
Select[Prime[Range[220]], PrimeQ[6#+5]&&PrimeQ[5#+6]&]
PROG
(Magma) [p: p in PrimesUpTo(5000)|IsPrime(5*p+6) and IsPrime(6*p+5)] // Vincenzo Librandi, Jan 30 2011
(PARI) forprime(p=1, 10^4, if(isprime(5*p+6)&&isprime(6*p+5), print1(p, ", "))) \\ Derek Orr, Aug 04 2014
CROSSREFS
Intersection of A023219 and A023221. - Michel Marcus, Nov 06 2018
Sequence in context: A090865 A296716 A191062 * A235478 A045459 A322172
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, May 07 2005
STATUS
approved