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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161945 Numbers n with property that three consequtive odd numbers {n,n+2,n+4} are all composite. 2
91, 115, 117, 119, 121, 141, 143, 183, 185, 201, 203, 205, 213, 215, 217, 243, 245, 285, 287, 295, 297, 299, 301, 319, 321, 323, 325, 339, 341, 361, 391, 403, 411, 413, 423, 425, 451, 469, 471, 473, 481, 493, 511, 513, 515, 525, 527, 529, 531, 533, 535, 549 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

143 is in the sequence because 143=11*13, 145=5*29, 147=3*49. [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Jun 27 2009]

MAPLE

a := proc (n) if isprime(2*n-1) = false and isprime(2*n+1) = false and isprime(2*n+3) = false then 2*n-1 else end if end proc: seq(a(n), n = 2 .. 300); [From Emeric Deutsch (deutsch(AT)duke.poly.edu), Jun 27 2009]

MATHEMATICA

fQ[n_]:=!PrimeQ[n]&&!PrimeQ[n+2]&&!PrimeQ[n+4]; Select[Range[3, 1000, 2], fQ] (* From Vladimir Joseph Stephan Orlovsky, Apr 16 2011 *)

CROSSREFS

Sequence in context: A126134 A020223 A184034 * A140389 A157345 A092125

Adjacent sequences:  A161942 A161943 A161944 * A161946 A161947 A161948

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jun 22 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 15 08:20 EST 2012. Contains 205729 sequences.