Problem 1742. Generate a Parasitic Number
Solution Stats
Problem Comments
-
2 Comments
As per the wiki page provided in problem 156 "leading zeros are not allowed". Thus the solution set here is flawed.
Chris, you are correct. The definition of a parasitic number does state "No Leading Zeros." That's why I explicitly stated that some of these values would have a leading zero, and when they would occur. While these numbers are technically not parasitic, the method for generating them is the same.
Problem Recent Solvers82
Suggested Problems
-
Choose the best fitting dominoes
218 Solvers
-
Matrix with different incremental runs
311 Solvers
-
Find out missing number from a vector of 9 elements
262 Solvers
-
Reverse the elements of an array
774 Solvers
-
Count consecutive 0's in between values of 1
246 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!