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!)
A138698 Primes p such that 54*p-1, 54*p+1 and 60*p-1, 60*p+1 are twin primes. 6
1093, 1777, 1933, 4073, 11117, 42533, 42937, 59263, 80473, 90677, 98323, 109717, 111427, 120917, 138893, 157627, 170603, 207367, 227627, 241333, 250753, 296687, 305423, 332303, 346277, 359563, 360907, 367163, 371617, 376307, 404837, 446417 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
54*1093 - 1 = 59021, 54*1093 + 1 = 59023; 60*1093 - 1 = 65579, 60*1093 + 1 = 65581; ...
MATHEMATICA
a=54; b=60; Select[Prime[Range[14^4]], PrimeQ[a*#-1]&&PrimeQ[a*#+1]&&PrimeQ[b*#-1]&&PrimeQ[b*#+1]&]
Select[Prime[Range[40000]], AllTrue[{54#+1, 54#-1, 60#+1, 60#-1}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Sep 22 2017 *)
PROG
(Magma) [p: p in PrimesUpTo(1000)| IsPrime(54*p-1) and IsPrime(54*p+1) and IsPrime(60*p-1) and IsPrime(60*p+1)] // Vincenzo Librandi, Nov 24 2010
CROSSREFS
Sequence in context: A174422 A255838 A253234 * A342390 A252520 A023698
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 April 24 16:34 EDT 2024. Contains 371961 sequences. (Running on oeis4.)