Info
This question is closed. Reopen it to edit or answer.
How to check if a number is power of a prime number?
1 view (last 30 days)
Show older comments
How to check if a number is power of a prime number?
e.g. 9, 25, 27, 36 are powers of a prime number. Program should return logical 1 for these kinds of numbers.
1 Comment
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!