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

36.71% Correct | 63.29% Incorrect
Last Solution submitted on Dec 15, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers22

Suggested Problems

More from this Author316

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!