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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023217 Numbers n such that n and 5n + 2 are both prime. 3
3, 7, 13, 19, 31, 61, 67, 73, 79, 97, 109, 151, 157, 181, 193, 199, 223, 313, 331, 349, 373, 397, 457, 487, 523, 541, 571, 577, 607, 613, 643, 661, 691, 709, 727, 739, 769, 811, 859, 919, 991, 997, 1021, 1033, 1039, 1069, 1087, 1129, 1171, 1201, 1213, 1249, 1279, 1321 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..54.

MATHEMATICA

lst={}; Do[p=Prime[n]; If[PrimeQ[5*p+2], AppendTo[lst, p]], {n, 6!}]; lst [From Vladimir Joseph Stephan Orlovsky, Aug 16 2009]

PROG

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

CROSSREFS

Sequence in context: A023237 A106061 A155703 * A106077 A216515 A048977

Adjacent sequences:  A023214 A023215 A023216 * A023218 A023219 A023220

KEYWORD

nonn

AUTHOR

David W. Wilson

STATUS

approved

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 May 18 13:38 EDT 2013. Contains 225419 sequences.