Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125173
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125173 Minimum number of "k-splits" required to transform {n} to {1}. +0
1
0, 1, 1, 2, 2, 2, 2, 3, 2, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 4, 3, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 4, 4, 4, 5, 4, 5, 4, 5, 4, 5, 4, 5, 5, 4, 4, 5, 4 (list; graph; listen)
OFFSET

1,4

COMMENT

A "k-split" is a transformation T(k) of a set of positive integers obtained by replacing the maximum element m of the set by k and m-2k, where 1<=k<=m/2, unless m-2k=0 in which case m is simply replaced by k. Examples: T(4)({1,2,12}) ={1,2,3,4}, T(5)({1,2,12})={1,2,5}, T(6)({1,2,12})={1,2,6}. Is this the same as the sequence of the minimum number of "d-swaps" required to reverse a word of length n, which was introduced by D. E. Knuth in Problem 11264 of the January 2007 issue of the American Mathematical Monthly?

REFERENCES

D. E. Knuth, Problem 11264, Amer. Math. Monthly 114(2007)77.

EXAMPLE

a(9)=2, as shown by the sequence of 2 k-splits: T(3)({9})={3}, followed by

T(1)({3})={1}.

a(44)<=5, as shown by the five k-splits T(15)({44})={14,15}, T(7)({14,15})=

{1,7,14}, T(7)({1,7,14})={1,7}, T(3)({1,7})={1,3}, and finally T(1)({1,3})={1}.

Exhaustive calculation show that no sequence of fewer k-splits will suffice for {44}, so a(44)=5.

CROSSREFS

Sequence in context: A139325 A068211 A089050 this_sequence A054725 A064415 A086833

Adjacent sequences: A125170 A125171 A125172 this_sequence A125174 A125175 A125176

KEYWORD

nonn

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Jan 12 2007

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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research