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
-
Find the sum of all the numbers of the input vector
53474 Solvers
-
Select every other element of a vector
35923 Solvers
-
Project Euler: Problem 7, Nth prime
1744 Solvers
-
540 Solvers
-
Find the Oldest Person in a Room
20116 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!