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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023221 Numbers n such that n and 6n + 5 both prime. 6
2, 3, 7, 11, 13, 17, 29, 31, 37, 41, 43, 59, 71, 73, 79, 83, 97, 107, 109, 113, 137, 139, 151, 157, 163, 181, 191, 193, 197, 227, 239, 241, 251, 263, 269, 277, 307, 311, 317, 337, 347, 349, 367, 373, 389, 401, 409, 421, 431, 443, 449, 479, 487, 499, 503, 541, 557, 577, 587 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

MATHEMATICA

lst={}; Do[p=Prime[n]; If[PrimeQ[6*p+5], AppendTo[lst, p]], {n, 6!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Mar 10 2009]

PROG

(MAGMA) [n: n in [0..1000] | IsPrime(n) and IsPrime(6*n+5)] [From V. Librandi, Nov 20 2010]

CROSSREFS

Sequence in context: A045320 A045321 A045322 * A127430 A171595 A106483

Adjacent sequences:  A023218 A023219 A023220 * A023222 A023223 A023224

KEYWORD

nonn

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

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 13:28 EST 2012. Contains 206031 sequences.