## ARML Scrimmage Power Question

As expected, the only really interesting part of the scrimmage was the “power question”. This is basically a proof-based problem the whole team of 15 (or so) works on for an hour. This was always what I was best at, and tonight’s was no exception. I’ll post the question here for you to chew on. I’m restating it somewhat for this forum. You can ask for clarifications in the comments, but I’d rather you not post solutions since I intend to come back to it in a week to give my own (cleaned-up) solutions.

I didn’t write them all the answers out myself, but I could have done within the hour if I didn’t have to write them out longhand. I also give credit to more fastidious members of the team reviewing some of my answers and writing them out in the actual competition.

This problem is concerned with “arrangements” of “bits”. A bit is just a symbol in one of two states: or . A configuration is a string of bits, considered to loop around from one end to the other. Actually the problem is written in terms of bits arranged around a circle, but I’ll just write them as strings to avoid having to draw circular configurations here.

We’re interested in the following transformation on arrangements: a string becomes the string , where if and if . Since we’re considering the strings to loop around, we have if and if . As an example, the string becomes the string .

Part I

1. What arrangements are created by starting with and transforming it one, two, three, and four times?

2. Show the first 4 transformations of .

3. Justify why will never become all zeroes no matter how many transformations are applied.

Part II

4. Show that any arrangement of two bits becomes all zeroes within two transformations.

5. Let be any three consecutive bits in an arrangement, which may have any number of other bits (these three may also wrap from the end of a string to the beginning). Show that transforming the arrangements twice gives a or at position depending on whether and are the same or different.

6. Use problem 5 to prove the following statement: if an arrangement with an even number of bits is transformed twice, then the result is the same if every other bit was treated as an arrangement and transformed once. That is: going to in two transformations is equivalent to and going to and in one transformation each, and similarly for other even-length arrangements.

7. Extend the idea of problems 5 and 6 by proving the following. Let be an arrangement of length . Prove that after transformations, the value in position depends only on whether and were the same or different in the original arrangement for all .

8. Prove that, for any positive integer , any arrangement of bits becomes all zeros after transformations.

Part III

9. Justify why arrangements that are either all zeros or all ones are the only arrangements that give all zeros after one transformation.

10. Prove that one transformation on any arrangement of bits results in arrangement with an even number of ones.

11. Combine Problems 9 and 10 and prove that if an arrangement has an odd number of bits and is not all zeros and not all ones, then no number of transformations will result in all zeros.

12. Prove that if an arrangement has an even number of bits that is not a power of two, and exactly one bit is , then no number of transformations will result in an arrangement of all zeros.

*[UPDATE]* Somehow the post got clipped.. I’ve replaced the old material as close to my original wording as I remember

There’s a typo in number 5. The last sentence should read “… depending on whether a_i and a_{i+2} are the same or different.”

Fun little problem. Now, of course, I feel the urge to work out how it generalizes–perhaps replacing {0,1} with an arbitrary (finite/abelian) group? :-) In a crazier vein, I wonder what happens in higher dimensions–on the surface of a torus or a sphere, say?

Comment by Cat lover | May 23, 2007 |

[...] to the ARML Scrimmage Power Question Today I’ll give my own solution to the power question I posted last week. I’m going to present it as I always wished I could have: as a whole with answers to the [...]

Pingback by Solution to the ARML Scrimmage Power Question « The Unapologetic Mathematician | May 31, 2007 |