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 comments
Loading...
Problem Recent Solvers84
Suggested Problems
-
4201 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6863 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2588 Solvers
-
382 Solvers
-
Sum the squares of numbers from 1 to n
261 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!