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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023201 Numbers n such that n and n + 6 both prime. 65
5, 7, 11, 13, 17, 23, 31, 37, 41, 47, 53, 61, 67, 73, 83, 97, 101, 103, 107, 131, 151, 157, 167, 173, 191, 193, 223, 227, 233, 251, 257, 263, 271, 277, 307, 311, 331, 347, 353, 367, 373, 383, 433, 443, 457, 461, 503, 541, 557, 563, 571, 587, 593, 601, 607, 613, 641, 647 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, Sexy Primes.

Eric Weisstein's World of Mathematics, Twin Primes

MATHEMATICA

Select[Range[10^2], PrimeQ[ # ]&&PrimeQ[ #+6] &] (from Vladimir Joseph Stephan Orlovsky, Apr 29 2008)

PROG

(MAGMA) [n: n in [0..40000] | IsPrime(n) and IsPrime(n+6)] [From Vincenzo Librandi, Aug 04 2010]

(Haskell)

a023201 n = a023201_list !! (n-1)

a023201_list = filter ((== 1) . a010051 . (+ 6)) a000040_list

-- Reinhard Zumkeller, Feb 25 2013

(PARI) is(n)=isprime(n+6)&&isprime(n) \\ Charles R Greathouse IV, Mar 20 2013

CROSSREFS

A031924 and A007529 together give A023201.

Cf. A046117, A098428, A000040, A010051, A006489 (subsequence).

Sequence in context: A180951 A040146 A015914 * A106059 A102386 A038958

Adjacent sequences:  A023198 A023199 A023200 * A023202 A023203 A023204

KEYWORD

nonn,easy

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 22 08:42 EDT 2013. Contains 225514 sequences.