Cody

# Problem 44385. Extra safe primes

Solution 1747074

Submitted on 10 Mar 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Fail
x = 0; assert(isequal(isextrasafe(x),false))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test1 (line 2) assert(isequal(isextrasafe(x),false))

2   Fail
x = 5; assert(isequal(isextrasafe(x),false))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test2 (line 2) assert(isequal(isextrasafe(x),false))

3   Fail
x = 7; assert(isequal(isextrasafe(x),false))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test3 (line 2) assert(isequal(isextrasafe(x),false))

4   Fail
x = 11; assert(isequal(isextrasafe(x),true))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test4 (line 2) assert(isequal(isextrasafe(x),true))

5   Fail
x = 15; assert(isequal(isextrasafe(x),false))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test5 (line 2) assert(isequal(isextrasafe(x),false))

6   Fail
x = 23; assert(isequal(isextrasafe(x),true))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test6 (line 2) assert(isequal(isextrasafe(x),true))

7   Fail
x = 71; assert(isequal(isextrasafe(x),false))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test7 (line 2) assert(isequal(isextrasafe(x),false))

8   Fail
x = 719; assert(isequal(isextrasafe(x),true))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test8 (line 2) assert(isequal(isextrasafe(x),true))

9   Fail
x = 2039; assert(isequal(isextrasafe(x),true))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test9 (line 2) assert(isequal(isextrasafe(x),true))

10   Fail
x = 2040; assert(isequal(isextrasafe(x),false))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test10 (line 2) assert(isequal(isextrasafe(x),false))

11   Fail
x = 5807; assert(isequal(isextrasafe(x),true))

Cannot find an exact (case-sensitive) match for 'isextrasafe' The closest match is: isExtraSafe in /users/mss.system.Jt9c3Y/isExtraSafe.m Error in Test11 (line 2) assert(isequal(isextrasafe(x),true))