Problem 47808. Check if the input is an interprime

More information about interprimes on Wikipedia
isInterprime(2) = 0;
isInterprime(4) = 1;

Solution Stats

57.5% Correct | 42.5% Incorrect
Last Solution submitted on Oct 11, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers21

Suggested Problems

More from this Author92

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!