An Identity in Permutations

Let's say that we have 100 balls and 100 boxes, both labelled by the numbers 1 to 100, and that ball 1 is in box 1, ball 2 is in box 2, etc.. Let P P be a uniform shifting (i.e. whatever ball in box i i is shifted to box i + k i+k , for fixed k k ) of the balls' positions such that no ball is in its original box, i.e. ball i i is shifted to a box with a number not equal to i i . What is the minimal number of compositions of P P upon the balls required so that every ball returns to its original position?


Inspired by Linus Setiabrata (pretty much his problem).


The answer is 100.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Steven Lee
Feb 5, 2017

We can view P as a permutative cycle: Let the balls' positions be p 1 , p 2 , . . . , p 100 p_1, p_2, ..., p_{100} and a shift between two positions be written as a 1 > a 2 a_1 -> a_2 where a i a_i represents some unique p i p_i . Then we can express the whole of P as a 1 > a 2 > a 3 > . . . > a 100 > a 1 a_1 -> a_2 -> a_3 -> ... -> a_{100} -> a_1 . Since a i a_i is arbitrary (but unique), every permutation can be expressed in this manner and so the length of every permutative cycle is 100. Interestingly, this implies that for any permutation P, the number of compositions of P required so that we have a permutative identity is equal to the number of positions P shifts.

The "uniform shifting" needs to be much better explained.

Currently, all it says it that ball i i is moved to a (random) box k k , such that no ball is in the original box.

Looking at your solution, it seems like what you want is "ball i i is moved to box i + k i + k , for a fixed k k ".

Otherwise, we could have a 9-cycle and 13 7-cycles, in which case 100 permutations would not move the ball back.

Calvin Lin Staff - 4 years, 4 months ago

Log in to reply

Thanks for the feedback

Steven Lee - 4 years, 4 months ago

Log in to reply

Can you edit the problem for clarity? That would allow me to resolve the report on your problem.

As currently stated, the correct answer should be "LCM of 1 to 100".

Calvin Lin Staff - 4 years, 4 months ago

Log in to reply

@Calvin Lin Hmm, thought I did but the edit wasn't there. Just edited again. Thanks

Steven Lee - 4 years, 4 months ago

Log in to reply

@Steven Lee Thanks. I see that the problem has been edited.

We have a preview step before the final save, so what you might have done is previewed the edit but not saved it.

Calvin Lin Staff - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...