Problem 54144. Factor Digits
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
ChrisR
on 19 May 2022
Notice that 720 = 2^4*3^2*5 has 5 digits in its prime factorization (not 7).
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
Omit columns averages from a matrix
595 Solvers
-
Find the largest value in the 3D matrix
1549 Solvers
-
352 Solvers
-
Find and replaces spaces from a input string with *
164 Solvers
-
Matlab Basics II - Count rows in a matrix
381 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!