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.
657 Solvers
Set the array elements whose value is 13 to 0
941 Solvers
965 Solvers
Lychrel Number Test (Inspired by Project Euler Problem 55)
59 Solvers
Side of an equilateral triangle
2601 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!