login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161725 Primes n such that also n+30 and n-30 are primes. 0
37, 41, 43, 53, 59, 67, 71, 73, 83, 97, 101, 109, 127, 137, 167, 181, 193, 197, 211, 227, 241, 263, 281, 307, 337, 367, 379, 389, 409, 419, 431, 449, 461, 479, 491, 571, 577, 587, 601, 617, 631, 643, 647, 661, 739, 757, 827, 853, 857, 907, 911, 937, 941, 967 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

The prime n=37 is in the sequence because 37-30=7 and 37+30=67 are also primes.

MATHEMATICA

q=6*5; lst={}; Do[p=Prime[n]; If[PrimeQ[p-q]&&PrimeQ[p+q], AppendTo[lst, p]], {n, 7!}]; lst

CROSSREFS

Cf. A006489, A137796, A161723, A161724, A052243.

Sequence in context: A069963 A071855 A137675 * A100722 A093690 A090263

Adjacent sequences:  A161722 A161723 A161724 * A161726 A161727 A161728

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Jun 17 2009

EXTENSIONS

Definition edited by Emeric Deutsch (deutsch(AT)duke.poly.edu), Jun 28 2009

Moved comment to the examples - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 23 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 07:41 EST 2012. Contains 205998 sequences.