The number 172 is not prime, but its anagrams 127 and 271 are. Write a function that lists the unique prime anagrams of a number in increasing order. Leading zeros are allowed; for example, a prime anagram of 902 is 29.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers22
Suggested Problems
-
Find the two most distant points
2956 Solvers
-
Back to basics 25 - Valid variable names
339 Solvers
-
475 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
460 Solvers
-
Remove entire row and column in the matrix containing the input values
564 Solvers
More from this Author325
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!