The number on each dial is equal to the sum of the numbers of its four neighbors (vertical & horizontal) modulo 3 (where neighbors can be either setting on dials or the fixed, carved numbers around the edge).
Krishna Lalith (2021). Egyptian Lock (https://www.mathworks.com/matlabcentral/fileexchange/29880-egyptian-lock), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!