Problem 52664. List the Moran numbers
The quotient of a Moran number and its digit sum is prime. For example, 117 and 481 are Moran numbers because 117/(1+1+7) is 13 and 481/(4+8+1) = 37, and both 13 and 37 are prime.
Write a function to list the Moran numbers less than or equal to the input number.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
Return the largest number that is adjacent to a zero
5332 Solvers
-
Return a list sorted by number of occurrences
2770 Solvers
-
17069 Solvers
-
Sort numbers by outside digits
147 Solvers
-
Find out missing number from a vector of 9 elements
295 Solvers
More from this Author273
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!