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
-
Return the 3n+1 sequence for n
8403 Solvers
-
Return a list sorted by number of occurrences
2839 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
216 Solvers
-
Generate a string like abbcccddddeeeee
270 Solvers
-
7732 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!