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!)
A049481 Both p and p+30 are primes. 13
7, 11, 13, 17, 23, 29, 31, 37, 41, 43, 53, 59, 67, 71, 73, 79, 83, 97, 101, 107, 109, 127, 137, 149, 151, 163, 167, 181, 193, 197, 199, 211, 227, 233, 239, 241, 251, 263, 277, 281, 283, 307, 317, 337, 349, 353, 359, 367, 379, 389, 401, 409, 419, 431, 433, 449 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
30 = A002110(3) is the 3rd primorial number.
p and p+30 are not necessarily consecutive primes. Initial segment of A045320 is identical, but 113 is not in this sequence because 113 + 30 = 143 is divisible by 13.
LINKS
EXAMPLE
Both 7 and 7 + 2*3*5 = 37 are prime.
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[p+30], AppendTo[lst, p]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jan 04 2009 *)
Select[Prime[Range[100]], PrimeQ[#+30]&] (* Harvey P. Dale, Apr 28 2012 *)
CROSSREFS
Sequence in context: A103486 A086843 A260714 * A175412 A173700 A067557
KEYWORD
nonn
AUTHOR
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 August 1 15:28 EDT 2024. Contains 374818 sequences. (Running on oeis4.)