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.
Given an unsigned integer x, find the largest y by rearranging the bits in x
799 Solvers
Determine if a Given Number is a Triangle Number
326 Solvers
902 Solvers
Duplicate each element of a vector.
521 Solvers
120 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!