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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119718 A permutation of semiprimes: every term is relatively prime to its neighbors. 0
4, 9, 10, 21, 22, 15, 14, 25, 6, 35, 26, 33, 34, 39, 38, 49, 46, 51, 55, 57, 58, 65, 62, 69, 74, 77, 82, 85, 86, 87, 91, 93, 94, 95, 106, 111, 115, 118, 119, 121, 122, 123, 133, 129, 134, 141, 142, 143, 145, 146, 155, 158, 159, 161, 166, 169, 177, 178, 183, 185, 187 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

It is highly probable that the sequence is a permutation of the semiprimes.

MATHEMATICA

sp0=Select[Range[1000], 2==Plus@@Last/@FactorInteger@#&]; sp=sp0; le=Length@sp; seq={4}; b=4; sp=Rest@sp; le=le-1; Do[Do[spi=sp[[i]]; If[1==GCD[b, spi], b=spi; AppendTo[seq, b]; sp=Delete[sp, i]; le=le-1; Break[]], {i, le}], {100}]; seq

CROSSREFS

Sequence in context: A155566 A102837 A004631 * A051884 A131368 A131457

Adjacent sequences:  A119715 A119716 A119717 * A119719 A119720 A119721

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jun 13 2006

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 06:43 EST 2012. Contains 205863 sequences.