Problem 44385. Extra safe primes
22.3% Correct | 77.7% Incorrect
Last Solution submitted on May 03, 2023
Show 1 older comment
Mehmet OZC on 16 Oct 2017
15 = 2*7+1 and 7 = 2*3+1 so 15 should be a safe prime. Am I missing something?
Peng Liu on 16 Oct 2017
An (extra) safe prime number itself must be a prime number. Here, 15 is not a prime, so it is not (extra) safe prime
danteliujie on 27 Feb 2019
For case 8, x = 719;
which will lead to 44, not prime, the result should be false, but it's true now.
Am I right?
Matthew Eicholtz on 28 Feb 2019
danteliujie, x = 719 does not lead to 44.
Solution CommentsShow comments
Problem Recent Solvers710
Find the two most distant points
Get the area codes from a list of phone numbers
Sum all integers from 1 to 2^n
Project Euler: Problem 8, Find largest product in a large string of numbers
Check that number is whole number
More from this Author44
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!