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 Solvers723
Suggested Problems
-
1152 Solvers
-
536 Solvers
-
1255 Solvers
-
Getting the indices from a vector
7888 Solvers
-
837 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!