Problem 46571. Characterize the final state of the digit inventory sequence
Solution Stats
Problem Comments
-
5 Comments
Rats. My solution got all the problems right except the last. How is that possible?
William, our results differ for a starting value of 570. I'm not sure why yet.
William, I think I see the reason for the difference now. Let me know if you want a hint.
Aha! I see the problem with 570. Very clever of you to include a case like that!
Thanks but I'd say I was more lucky than clever. A run of periods drew me to that range. You're right that the case of 570 is a good one.
Solution Comments
Problem Recent Solvers6
Suggested Problems
-
Return the largest number that is adjacent to a zero
4461 Solvers
-
1654 Solvers
-
93 Solvers
-
Matrix with different incremental runs
110 Solvers
-
Large Sum (inspired by Project Euler 13)
63 Solvers
More from this Author162
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!