Problem 42321. given number is power of n or not?
38.11% Correct | 61.89% Incorrect
Last Solution submitted on Oct 21, 2022
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.
Problem Recent Solvers75
Find the two most distant points
Project Euler: Problem 7, Nth prime
07 - Common functions and indexing 6
Matlab Basics II - Log and natural log
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!