Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers66
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2587 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Converts numbers into characters
2168 Solvers
-
1980 Solvers
-
225 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!