Check if a given number in an array of numbers is -
Equidigital Number - A number that has the same number of digits as the number of digits in its prime factorization. Out - 1
Extravagant Number - A number that has fewer digits than the number of digits in its prime factorization. Out - 4
Frugal Number - A number that has the more number of digits as the number of digits in its prime factorization. Out - 125
See the test suite for bans/restrictions and more clarity.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers7
Suggested Problems
-
Test if a Number is a Palindrome without using any String Operations
252 Solvers
-
Back to basics 11 - Max Integer
808 Solvers
-
115 Solvers
-
Determine Whether an array is empty
810 Solvers
-
Create a vector whose elements depend on the previous element
784 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Notice that 720 = 2^4*3^2*5 has 5 digits in its prime factorization (not 7).