Published online by Cambridge University Press: 16 May 2024
It is clear that given n discs, and without identifying any patterns, there are 2n possible starting patterns. Thus, regardless of the starting pattern, one of the patternswill eventually be repeated, and after that the patterns will occur periodically.
We need a mathematical formulation of the problem, and this is often the hardest part of problem solving. In general, given a system in which there are exactly two choices, we should always consider using arithmetic modulo 2. Let us now represent the red discs by 0, and the blue discs by 1. Then any state of the system is a vector of length n with each component 0 or 1, and where two vectors are considered to be the same if one can be cyclically permuted into the other. With this notation, the rules for replacement become: between 0 and 1, and between 1 and 0, we put 1; between two 0s, and between two 1s, we put 0. We can denote these rules symbolically by
It should now be clear that the move from one pattern to the next is given by the map
and this is our mathematical formulation of the problem. As this map is a linear map it can be written in matrix form, namely
where again the arithmetic is modulo 2. Let us denote the matrix of coefficients by A. Then, if we start with the pattern (x1, … , xn) and apply the process m times, the resulting pattern will be
This observation easily enables us to check many cases on a computer. For example, if we start with the pattern (R, R,B, R,B) and apply the process 13 times, the final pattern will be (B, B, B, B,R) because (using a computer)
A warning is appropriate here. If we compute An for a large n, and then reduce the resulting matrix modulo 2, the answer may not be correct because there may be errors in computing An. The correct procedure is to reduce the answer modulo 2 after each product.
We now prove some general results about these patterns and, for brevity, we shall use the same symbol, say x, for both a (row) vector and its transpose (a column vector).
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.