I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton)
In this problem, all he wants is how many steps are necessary for the automaton to repeat itself.
Most nonzero elements in row
Find the sum of the elements in the "second" diagonal
Twist 'n' Match
Too Many Zeros, Dump Them!
Is this triangle right-angled?
Rubik's Cube : Solve Ten Face Move - Speed Scoring
Criss_Cross_000 : Unique elements in a Square array
Reading Web Binary Files (jpg,pdf,tiff,png)
USC Fall 2012 ACM : Code Word Minimum Flipped Bits
Kryptos - CIA Cypher Sculpture: Vigenere Encryption
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office