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
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52651 Solvers
-
Return the 3n+1 sequence for n
8481 Solvers
-
Vectorize the digits of an Integer
336 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1254 Solvers
-
1250 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!