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 Solvers21
Suggested Problems
-
7718 Solvers
-
281 Solvers
-
Make a random, non-repeating vector.
9727 Solvers
-
327 Solvers
-
Make a vector of prime numbers
798 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!