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.
Find matching string from a list of strings
83 Solvers
71 Solvers
Matrix with different incremental runs
253 Solvers
Make a logical diamond using GALLERY function
67 Solvers
Beads on a Necklace (Convex Hulls)
37 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!