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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers83
Suggested Problems
-
Sum of diagonal of a square matrix
1629 Solvers
-
Find out missing number from a vector of 9 elements
319 Solvers
-
The Answer to Life, the Universe, and Everything
573 Solvers
-
Relative ratio of "1" in binary number
1590 Solvers
-
Finding perimeter of a rectangle
493 Solvers
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!