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.
2486 Solvers
1163 Solvers
Find common elements in matrix rows
1233 Solvers
135 Solvers
Cell Counting: How Many Draws?
581 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!