Problem 51466. List prime anagrams of a number

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

62.86% Correct | 37.14% Incorrect
Last Solution submitted on Sep 12, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers19

Suggested Problems

More from this Author272

Problem Tags

Community Treasure Hunt

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

Start Hunting!