Problem 42321. given number is power of n or not?

Check weather The input is power of n or not? for example

x=8,n=2 --> true x=6,n=2 --> false

Solution Stats

38.28% Correct | 61.72% Incorrect
Last Solution submitted on Feb 05, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers80

Suggested Problems

More from this Author1

Problem Tags

Community Treasure Hunt

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

Start Hunting!