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
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2322 Solvers
-
Flip the main diagonal of a matrix
834 Solvers
-
Set the array elements whose value is 13 to 0
1377 Solvers
-
473 Solvers
-
201 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!