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 .
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.
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.
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