Problem 44385. Extra safe primes
Solution Stats
Problem Comments
-
4 Comments
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 Comments
Show commentsProblem Recent Solvers710
Suggested Problems
-
Find the peak 3n+1 sequence value
1970 Solvers
-
323 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
452 Solvers
-
466 Solvers
-
Calculate Amount of Cake Frosting
19102 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!