Robuta

https://www.mathworks.com/matlabcentral/cody/problems/46571 Characterize the final state of the digit inventory sequence - MATLAB Cody - MATLAB Central the finalstate ofinventory sequence