login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129820 List of pairs of consecutive nonprime odd numbers {m-1,m+1}. 1
25, 27, 33, 35, 49, 51, 55, 57, 63, 65, 75, 77, 85, 87, 91, 93, 93, 95, 115, 117, 117, 119, 119, 121, 121, 123, 123, 125, 133, 135, 141, 143, 143, 145, 145, 147, 153, 155, 159, 161, 169, 171, 175, 177, 183, 185, 185, 187, 187, 189 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Flatten[Table[If[OddQ[n - 1] && PrimeQ[n - 1] == False && PrimeQ[n + 1] == False, {{n - 1}, {n + 1}}, {}], {n, 2, 200}]]
Select[Partition[Range[1, 201, 2], 2, 1], NoneTrue[#, PrimeQ]&]//Flatten (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 09 2019 *)
CROSSREFS
Sequence in context: A287763 A239523 A361821 * A096522 A195351 A015734
KEYWORD
nonn
AUTHOR
Roger L. Bagula, May 20 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)