More information about strong primes on Wikipedia
isStrongPrime(11) = 1;
isStrongPrime(2) = 0;
isStrongPrime(9) = 0;
isStrongPrime(227) = 1;
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
Find the sum of all the numbers of the input vector
53720 Solvers
-
20971 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1988 Solvers
-
All your base are belong to us
574 Solvers
-
96 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!