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 Solvers81
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
444 Solvers
-
500 Solvers
-
487 Solvers
-
Sum the 'edge' values of a matrix
346 Solvers
-
Append two matrix as shown below example
225 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!