Problem 45201. Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers61
Suggested Problems
-
498 Solvers
-
2267 Solvers
-
408 Solvers
-
Replace multiples of 5 with NaN
466 Solvers
-
Sum the squares of numbers from 1 to n
257 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!