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
-
Find the longest sequence of 1's in a binary sequence.
6612 Solvers
-
Change the sign of even index entries of the reversed vector
613 Solvers
-
450 Solvers
-
Integer Sequence - II : New Fibonacci
667 Solvers
-
1324 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!