Problem 47808. Check if the input is an interprime
More information about interprimes on Wikipedia
isInterprime(2) = 0;
isInterprime(4) = 1;
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers22
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2776 Solvers
-
229 Solvers
-
15709 Solvers
-
Split a string into chunks of specified length
1970 Solvers
-
Count consecutive 0's in between values of 1
485 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!