David -- Good problem. I got sidetracked by the fact that the arguments 'd' and 'n' in the solution template are reversed from the order that they are provided in the test problems.
Sorry, I did not mean to do that. Fixed.
Similar to the first https://www.mathworks.com/matlabcentral/cody/problems/44959-rsa-encryption-using-public-key It is necessary to convert the number obtained back from base 256 to base 10.
Which values occur exactly three times?
3817 Solvers
Construct a string from letters and counts
128 Solvers
584 Solvers
Create a random logical vector of N elements of which M are true.
85 Solvers
2981 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!