Problem 42317. De-primed
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
Peter Krammer
on 5 Mar 2022
Several tests are not correct, because 1 is not a prime number !
Dyuman Joshi
on 5 Mar 2022
The problem statement explicitly states to treat 1 as a prime number in this case. smh
-
1 Comment
Chris Cleveland
on 29 Jul 2017
One in not prime!!!
And therefore should not become de-primed.
Problem Recent Solvers110
Suggested Problems
-
1934 Solvers
-
Project Euler: Problem 3, Largest prime factor
1037 Solvers
-
Make a random, non-repeating vector.
6662 Solvers
-
Simple equation: Annual salary
4071 Solvers
-
There are 10 types of people in the world
791 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!