Problem 52664. List the Moran numbers
Solution Stats
Problem Comments
-
2 Comments
@Tim, thanks for the idea of using ismember(). It greatly simplified my already simplest solution to date. All I did before was squeeze a literal implementation and make it work just fast enough to fit the one-minute filter..Your inspiration took me from four statements to two.
I believe I have the right solution but it is not fast enough, can anyone advise me on how to get the digit sum without using a for loop?
Solution Comments
Show commentsProblem Recent Solvers22
Suggested Problems
-
Find the sum of all the numbers of the input vector
53464 Solvers
-
3805 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1432 Solvers
-
Is this triangle right-angled?
6512 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2132 Solvers
More from this Author319
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!