Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to check if a number is power of a prime number?

1 次查看(过去 30 天)
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by