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
-
Number of 1s in a binary string
11551 Solvers
-
297 Solvers
-
209 Solvers
-
Simple equation: Annual salary
4271 Solvers
-
Find the area of a rectangle if length of the diagonal is given.
170 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!