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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072225 Numbers n such that Prime(n)+Prime(n+1)+Prime(n+2) is prime. 2
3, 4, 5, 7, 8, 9, 10, 11, 13, 16, 18, 19, 20, 22, 23, 26, 29, 34, 35, 37, 38, 45, 47, 50, 58, 60, 61, 62, 64, 68, 69, 70, 75, 77, 79, 80, 83, 87, 88, 90, 91, 94, 95, 97, 101, 113, 116, 119, 120, 121, 126, 128, 132, 133, 134 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

9 is in the sequence because prime(9)+prime(10)+prime(11)=23+29+31=83 is a prime.

MAPLE

a:=proc(n) if isprime(ithprime(n)+ithprime(n+1)+ithprime(n+2))=true then n else fi end: seq(a(n), n=1..150); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 24 2006

MATHEMATICA

Select[Range[10^4], PrimeQ[Prime[ # ] + Prime[ # + 1] + Prime[ # + 2]] &]

PROG

(MAGMA) [n: n in [0..600]| IsPrime(NthPrime(n)+NthPrime(n+1)+NthPrime(n+2))]; // Vincenzo Librandi, Apr 06 2011

CROSSREFS

Cf. A034962, A073681, A117673.

Sequence in context: A173153 A039131 A191979 * A137689 A081690 A081688

Adjacent sequences:  A072222 A072223 A072224 * A072226 A072227 A072228

KEYWORD

easy,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jul 04 2002

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 16 20:10 EST 2012. Contains 205960 sequences.