Problem 42321. given number is power of n or not?
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
James
on 20 May 2015
Including a value where x<=15 and the formula is true (like the x=8; n=2 example in your problem description) will make this solution wrong.
-
2 Comments
Problem Recent Solvers75
Suggested Problems
-
Find the two most distant points
2338 Solvers
-
Project Euler: Problem 7, Nth prime
1129 Solvers
-
07 - Common functions and indexing 6
418 Solvers
-
701 Solvers
-
Matlab Basics II - Log and natural log
172 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!