Clear Filters
Clear Filters

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)
Sheet
Sheet on 18 May 2024
Closed: John D'Errico on 18 May 2024
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!