|
Search: id:A048200
|
|
|
| A048200 |
|
Minimal length pair-exchange / set-rotate sequence to reverse n distinct ordered elements. |
|
+0 2
|
| |
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
"Rotate" is always a left-rotate (moves leftmost element to the right end) and "Exchange" is always a pair-exchange of the two leftmost elements.
|
|
EXAMPLE
|
a(4) = 4 since "xrrx" is the shortest sequence reversing "ABCD". Explicitly, (begin) ABCD, (x)-> BACD, (r)-> ACDB, (r) -> CDBA, (x)-> DCBA.
|
|
CROSSREFS
|
Sequence in context: A056392 A080149 A128513 this_sequence A064513 A058201 A000947
Adjacent sequences: A048197 A048198 A048199 this_sequence A048201 A048202 A048203
|
|
KEYWORD
|
nonn,nice,more
|
|
AUTHOR
|
Tony Bartoletti (azb(AT)home.com)
|
|
|
Search completed in 0.002 seconds
|