The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 13:53 EDT 2024. Contains 373105 sequences. (Running on oeis4.)