Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120067
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120067 Swap each two consecutive semiprimes. +0
1
1, 2, 3, 6, 5, 4, 7, 8, 10, 9, 11, 12, 13, 15, 14, 16, 17, 18, 19, 20, 22, 21, 23, 24, 26, 25, 27, 28, 29, 30, 31, 32, 34, 33, 38, 36, 37, 35, 46, 40, 41, 42, 43, 44, 45, 39, 47, 48, 51, 50, 49, 52, 53, 54, 57, 56, 55, 62, 59, 60, 61, 58, 63, 64, 69, 66, 67, 68, 65, 70, 71, 72 (list; graph; listen)
OFFSET

1,2

EXAMPLE

Start with the sequence of natural numbers:

1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,

First pair of consecutive semiprimes are 4 and 6, swap

them:

1,2,3,6,5,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,

next pair of consecutive semiprimes are 9 and 10, swap

them:

1,2,3,6,5,4,7,8,10,9,11,12,13,14,15,16,17,18,19,20,

next pair of consecutive semiprimes are 14 and 15,

swap them:

1,2,3,6,5,4,7,8,10,9,11,12,13,15,14,16,17,18,19,20,

etc.

MATHEMATICA

s=Range@200; sp=Select[s, 2==Total[Last/@FactorInteger[ # ]]&]; Do[a=sp[[i]]; b=sp[[i+1]]; s[[a]]=b; s[[b]]=a, {i, 1, 61, 2}]; s

CROSSREFS

Sequence in context: A130686 A056023 A133259 this_sequence A089843 A131145 A131146

Adjacent sequences: A120064 A120065 A120066 this_sequence A120068 A120069 A120070

KEYWORD

nonn

AUTHOR

Zak Seidov, Jun 07 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research