Cody

# Problem 44385. Extra safe primes

Solution 2383673

Submitted on 26 May 2020
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))

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

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

Error in solution: Line: 9 Column: 13 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.