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 Solvers23
Suggested Problems
-
Swap the first and last columns
22463 Solvers
-
Least common multiple of many numbers
254 Solvers
-
Circular Primes (based on Project Euler, problem 35)
648 Solvers
-
382 Solvers
-
Replace pattern 0 1 0 and 1 0 1
157 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!