This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Jamie Sargant
on 1 Jun 2013
I dont understand what the problem with solution is ?
George
on 5 Feb 2014
Your for loop bounds exceed the number of prime factors of n. Also, it looks like you are solving for the stated case n=286 and the test cases are using additional inputs.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!