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!)
A138660 Primes p such that (12*p - 1, 12*p + 1) and (18*p - 1, 18*p + 1) are twin primes. 1
29, 1051, 6719, 9059, 10501, 27749, 27791, 36749, 51421, 83761, 86729, 108751, 115249, 120049, 124139, 124529, 138629, 148861, 152839, 162091, 169009, 176609, 178249, 178921, 202481, 203141, 209621, 228199, 232681, 244411, 302779, 309259 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
29 is a term since it is a prime and (12*29 - 1, 12*29 + 1) = (347, 349) and (18*29 - 1, 18*29 + 1) = (521, 523) are twin primes.
1051 is a term since it is a prime and (12*1051 - 1, 12*1051+ 1) = (12611, 12613) and (18*1051 - 1, 18*1051 + 1) = (18917, 18919) are twin primes.
MATHEMATICA
a=12; b=18; Select[Prime[Range[14^4]], PrimeQ[a*#-1]&&PrimeQ[a*#+1]&&PrimeQ[b*#-1]&&PrimeQ[b*#+1]&]
PROG
(Magma) [p: p in PrimesUpTo(1000)| IsPrime(12*p-1) and IsPrime(12*p+1) and IsPrime(18*p-1) and IsPrime(18*p+1)] // Vincenzo Librandi, Nov 24 2010
CROSSREFS
Intersection of A138242 and A138248.
Sequence in context: A218239 A132058 A210261 * A237356 A176695 A243623
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Apr 01 2010
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 July 29 20:04 EDT 2024. Contains 374734 sequences. (Running on oeis4.)