Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Safe and Sophie Germain primes

From Wikipedia, the free encyclopedia
(Redirected fromSophie Germain prime)
A prime pair (p, 2p+1)

Innumber theory, aprime numberp is aSophie Germain prime if 2p + 1 is also prime. The number 2p + 1 associated with a Sophie Germain prime is called asafe prime. For example, 11 is a Sophie Germain prime and 2 × 11 + 1 = 23 is its associated safe prime. Sophie Germain primes and safe primes have applications inpublic key cryptography andprimality testing. It has beenconjectured that there areinfinitely many Sophie Germain primes, but this remains unproven.

Sophie Germain primes are named after French mathematicianSophie Germain, who used them in her investigations ofFermat's Last Theorem.[1] One attempt by Germain to prove Fermat’s Last Theorem was to letp be a prime number of the form 8k + 7 and to letn =p – 1. In this case,xn+yn=zn{\displaystyle x^{n}+y^{n}=z^{n}} is unsolvable. Germain’s proof, however, remained unfinished.[2][3] Through her attempts to solve Fermat's Last Theorem, Germain developed a result now known as Germain's Theorem which states that ifp is an odd prime and 2p + 1 is also prime, thenp must dividex,y, orz. Otherwise,xn+ynzn{\textstyle x^{n}+y^{n}\neq z^{n}}. This case wherep does not dividex,y, orz is called the first case. Sophie Germain’s work was the most progress achieved on Fermat’s last theorem at that time.[2] Later work byKummer and others always divided the problem into first and second cases.

Individual numbers

[edit]

The first few Sophie Germain primes (those less than 1000) are

2, 3, 5, 11, 23, 29, 41, 53, 83, 89, 113, 131, 173, 179, 191, 233, 239, 251, 281, 293, 359, 419, 431, 443, 491, 509, 593, 641, 653, 659, 683, 719, 743, 761, 809, 911, 953, ...OEISA005384

Hence, the first few safe primes are

5, 7, 11, 23, 47, 59, 83, 107, 167, 179, 227, 263, 347, 359, 383, 467, 479, 503, 563, 587, 719, 839, 863, 887, 983, 1019, 1187, 1283, 1307, 1319, 1367, 1439, 1487, 1523, 1619, 1823, 1907, ...OEISA005385

Incryptography much larger Sophie Germain primes like 1,846,389,521,368 + 11600 are required.

Two distributed computing projects,PrimeGrid andTwin Prime Search, include searches for large Sophie Germain primes. Some of the largest known Sophie Germain primes are given in the following table.[4]

ValueNumber
of digits
Time of
discovery
Discoverer
2618163402417 × 21290000 − 1388342February 2016Dr. James Scott Brown in a distributedPrimeGrid search using the programs TwinGen andLLR[5]
18543637900515 × 2666667 − 1200701April 2012Philipp Bliedung in a distributedPrimeGrid search using the programs TwinGen andLLR[6]
183027 × 2265440 − 179911March 2010Tom Wu using LLR[7]
648621027630345 × 2253824 − 1 and
620366307356565 × 2253824 − 1
76424November 2009Zoltán Járai, Gábor Farkas, Tímea Csajbók, János Kasza and Antal Járai[8][9]
1068669447 × 2211088 − 163553May 2020Michael Kwok[10]
99064503957 × 2200008 − 160220April 2016S. Urushihata[11]
607095 × 2176311 − 153081September 2009Tom Wu[12]
48047305725 × 2172403 − 151910January 2007David Underbakke using TwinGen and LLR[13]
137211941292195 × 2171960 − 151780May 2006Járai et al.[14]

On 2 Dec 2019, Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé, and Paul Zimmermann announced the computation of adiscrete logarithm modulo the 240-digit (795 bit) prime RSA-240 + 49204 (the first safe prime above RSA-240) using anumber field sieve algorithm; seeDiscrete logarithm records.

Properties

[edit]

There is no special primality test for safe primes the way there is forFermat primes andMersenne primes. However,Pocklington's criterion can be used to prove the primality of 2p + 1 once one has proven the primality ofp.

Just as every term except the last one of aCunningham chain of the first kind is a Sophie Germain prime, so every term except the first of such a chain is a safe prime. Safe primes ending in 7, that is, of the form 10n + 7, are the last terms in such chains when they occur, since 2(10n + 7) + 1 = 20n + 15 isdivisible by 5.

For a safe prime, everyquadratic nonresidue, except -1 (if nonresidue[a]), is aprimitive root. It follows that for a safe prime, the least positive primitive root is a prime number.[15]

Modular restrictions

[edit]

With the exception of 7, a safe primeq is of the form 6k − 1 or, equivalently,q ≡ 5 (mod 6) – as isp > 3. Similarly, with the exception of 5, a safe primeq is of the form 4k − 1 or, equivalently,q ≡ 3 (mod 4) — trivially true since (q − 1) / 2 must evaluate to anoddnatural number. Combining both forms usinglcm(6, 4) we determine that a safe primeq > 7 also must be of the form 12k − 1 or, equivalently,q ≡ 11 (mod 12).

It follows that, for any safe primeq > 7:

Ifp is a Sophie Germain prime greater than 3, thenp must be congruent to 2 mod 3. For, if not, it would be congruent to 1 mod 3 and 2p + 1 would be congruent to 3 mod 3, impossible for a prime number.[16] Similar restrictions hold for larger prime moduli, and are the basis for the choice of the "correction factor" 2C in the Hardy–Littlewood estimate on the density of the Sophie Germain primes.[17]

If a Sophie Germain primep iscongruent to 3 (mod 4) (OEISA002515,Lucasian primes), then its matching safe prime 2p + 1 (congruent to 7 modulo 8) will be a divisor of theMersenne number 2p − 1. Historically, this result ofLeonhard Euler was the first known criterion for a Mersenne number with a prime index to becomposite.[18] It can be used to generate the largest Mersenne numbers (with prime indices) that are known to be composite.[19]

Infinitude and density

[edit]
Unsolved problem in mathematics:
Are there infinitely many Sophie Germain primes?
(more unsolved problems in mathematics)

It isconjectured that there are infinitely many Sophie Germain primes, but this has not beenproven.[17] Several other famous conjectures in number theory generalize this and thetwin prime conjecture; they include theDickson's conjecture,Schinzel's hypothesis H, and theBateman–Horn conjecture.

Aheuristic estimate for thenumber of Sophie Germain primes less thann is[17]

2Cn(lnn)21.32032n(lnn)2{\displaystyle 2C{\frac {n}{(\ln n)^{2}}}\approx 1.32032{\frac {n}{(\ln n)^{2}}}}

where

C=p>2p(p2)(p1)20.660161{\displaystyle C=\prod _{p>2}{\frac {p(p-2)}{(p-1)^{2}}}\approx 0.660161}

isHardy–Littlewood's twin prime constant. Forn = 104, this estimate predicts 156 Sophie Germain primes, which has a 20% error compared to the exact value of 190. Forn = 107, the estimate predicts 50822, which is still 10% off from the exact value of 56032. The form of this estimate is due toG. H. Hardy andJ. E. Littlewood, who applied a similar estimate totwin primes.[20]

Asequence (p, 2p + 1, 2(2p + 1) + 1, ...) in which all of the numbers are prime is called aCunningham chain of the first kind. Every term of such a sequence except the last is a Sophie Germain prime, and every term except the first is a safe prime. Extending the conjecture that there exist infinitely many Sophie Germain primes, it has also been conjectured that arbitrarily long Cunningham chains exist,[21] although infinite chains are known to be impossible.[22]

Strong primes

[edit]

A prime numberq is astrong prime ifq + 1 andq − 1 both have some large (around 500 digits) prime factors. For a safe primeq = 2p + 1, the numberq − 1 naturally has a large prime factor, namelyp, and so a safe primeq meets part of the criteria for being a strong prime. The running times of some methods offactoring a number withq as a prime factor depend partly on the size of the prime factors ofq − 1. This is true, for instance, of thep − 1 method.

Applications

[edit]

Cryptography

[edit]

Safe primes are also important in cryptography because of their use indiscrete logarithm-based techniques likeDiffie–Hellman key exchange. If2p + 1 is a safe prime, the multiplicativegroup of integersmodulo2p + 1 has asubgroup of large primeorder. It is usually this prime-order subgroup that is desirable, and the reason for using safe primes is so that the modulus is as small as possible relative top.

A prime numberp = 2q + 1 is called asafe prime ifq is prime. Thus,p = 2q + 1 is a safe prime if and only ifq is a Sophie Germain prime, so finding safe primes and finding Sophie Germain primes are equivalent in computational difficulty. The notion of a safe prime can be strengthened to a strong prime, for which bothp − 1 andp + 1 have large prime factors. Safe and strong primes were useful as the factors of secret keys in theRSA cryptosystem, because they prevent the system being broken by somefactorization algorithms such asPollard'sp − 1 algorithm. However, with the current factorization technology, the advantage of using safe and strong primes appears to be negligible.[23]

Similar issues apply in other cryptosystems as well, includingDiffie–Hellman key exchange and similar systems that depend on the security of thediscrete logarithm problem rather than on integer factorization.[24] For this reason, key generation protocols for these methods often rely on efficient algorithms for generating strong primes, which in turn rely on the conjecture that these primes have a sufficiently high density.[25]

InSophie Germain Counter Mode, it was proposed to use the arithmetic in thefinite field of order equal to the safe prime 2128 + 12451, to counter weaknesses inGalois/Counter Mode using the binary finite field GF(2128). However, SGCM has been shown to be vulnerable to many of the same cryptographic attacks as GCM.[26]

Primality testing

[edit]

In the first version of theAKS primality test paper, a conjecture about Sophie Germain primes is used to lower the worst-case complexity fromO(log12n) toO(log6n). A later version of the paper is shown to have time complexityO(log7.5n) which can also be lowered toO(log6n) using the conjecture.[27] Later variants of AKS have been proven to have complexity ofO(log6n) without any conjectures or use of Sophie Germain primes.

Pseudorandom number generation

[edit]

Safe primes obeying certain congruences can be used to generatepseudo-random numbers of use inMonte Carlo simulation.

Similarly, Sophie Germain primes may be used in the generation ofpseudo-random numbers. The decimal expansion of 1/q will produce astream ofq − 1 pseudo-random digits, ifq is the safe prime of a Sophie Germain primep, withpcongruent to 3, 9, or 11 modulo 20.[28] Thus "suitable" prime numbersq are 7, 23, 47, 59, 167, 179, etc. (OEISA000353) (corresponding top = 3, 11, 23, 29, 83, 89, etc.) (OEISA000355). The result is a stream oflengthq − 1 digits (including leading zeros). So, for example, usingq = 23 generates the pseudo-random digits 0, 4, 3, 4, 7, 8, 2, 6, 0, 8, 6, 9, 5, 6, 5, 2, 1, 7, 3, 9, 1, 3. Note that these digits are not appropriate for cryptographic purposes, as the value of each can be derived from its predecessor in the digit-stream.[citation needed]

In popular culture

[edit]

Sophie Germain primes are mentioned in the stage playProof[29] and thesubsequent film.[30]

Notes

[edit]
  1. ^-1 is a quadratic residue only when the safe prime is equal 5; for all other safe primes, -1 is a nonresidue

References

[edit]
  1. ^Specifically, Germain proved that the first case of Fermat's Last Theorem, in which the exponent divides one of the bases, is true for every Sophie Germain prime, and she used similar arguments to prove the same for all other primes up to 100. For details seeEdwards, Harold M. (2000),Fermat's Last Theorem: A Genetic Introduction to Algebraic Number Theory, Graduate Texts in Mathematics, vol. 50, Springer, pp. 61–65,ISBN 9780387950020.
  2. ^abDalmedico, Amy (1991)."Sophie Germain".Scientific American.265 (6):116–123.doi:10.1038/scientificamerican1291-116.JSTOR 24938838.
  3. ^Laubenbacher, Reinhard; Pengelley, David (2010-11-01)."'Voici ce que j'ai trouvé:' Sophie Germain's grand plan to prove Fermat's Last Theorem".Historia Mathematica.37 (4):641–692.arXiv:0801.1809.doi:10.1016/j.hm.2009.12.002.ISSN 0315-0860.
  4. ^The Top Twenty Sophie Germain Primes — from thePrime Pages. Retrieved 17 May 2020.
  5. ^"PrimeGrid's Sophie Germain Prime Search"(PDF). PrimeGrid.Archived(PDF) from the original on 2022-10-09. Retrieved29 February 2016.
  6. ^"PrimeGrid's Sophie Germain Prime Search"(PDF). PrimeGrid.Archived(PDF) from the original on 2022-10-09. Retrieved18 April 2012.
  7. ^The Prime Database: 183027*2^265440-1. From ThePrime Pages.
  8. ^The Prime Database: 648621027630345*2^253824-1.
  9. ^The Prime Database: 620366307356565*2^253824-1
  10. ^The Prime Database: 1068669447*2^211088-1 From ThePrime Pages.
  11. ^The Prime Database: 99064503957*2^200008-1 From ThePrime Pages.
  12. ^The Prime Database: 607095*2^176311-1.
  13. ^The Prime Database: 48047305725*2^172403-1.
  14. ^The Prime Database: 137211941292195*2^171960-1.
  15. ^Ramesh VP, Makeshwari M (16 September 2022). "Least Primitive Root of any Safe Prime is Prime".The American Mathematical Monthly.129 (10).doi:10.1080/00029890.2022.2115816.
  16. ^Krantz, Steven G. (2010),An Episodic History of Mathematics: Mathematical Culture Through Problem Solving, Mathematical Association of America, p. 206,ISBN 9780883857663.
  17. ^abcShoup, Victor (2009), "5.5.5 Sophie Germain primes",A Computational Introduction to Number Theory and Algebra, Cambridge University Press, pp. 123–124,ISBN 9780521516440.
  18. ^Ribenboim, P. (1983), "1093",The Mathematical Intelligencer,5 (2):28–34,doi:10.1007/BF03023623,MR 0737682.
  19. ^Dubner, Harvey (1996), "Large Sophie Germain primes",Mathematics of Computation,65 (213):393–396,CiteSeerX 10.1.1.106.2395,doi:10.1090/S0025-5718-96-00670-9,MR 1320893.
  20. ^Ribenboim, Paulo (1999),Fermat's Last Theorem for Amateurs, Springer, p. 141,ISBN 9780387985084.
  21. ^Wells, David (2011),Prime Numbers: The Most Mysterious Figures in Math, John Wiley & Sons, p. 35,ISBN 9781118045718,If the strong primek-tuples conjecture is true, then Cunningham chains can reach any length.
  22. ^Löh, Günter (1989), "Long chains of nearly doubled primes",Mathematics of Computation,53 (188):751–759,doi:10.1090/S0025-5718-1989-0979939-8,MR 0979939.
  23. ^Rivest, Ronald L.; Silverman, Robert D. (November 22, 1999),Are 'strong' primes needed for RSA?(PDF),archived(PDF) from the original on 2022-10-09
  24. ^Cheon, Jung Hee (2006), "Security analysis of the strong Diffie–Hellman problem",24th Annual International Conference on the Theory and Applications of Cryptographic Techniques (EUROCRYPT'06), St. Petersburg, Russia, May 28 – June 1, 2006, Proceedings(PDF),Lecture Notes in Computer Science, vol. 4004, Springer-Verlag, pp. 1–11,doi:10.1007/11761679_1.
  25. ^Gordon, John A. (1985), "Strong primes are easy to find",Proceedings of EUROCRYPT 84, A Workshop on the Theory and Application of Cryptographic Techniques, Paris, France, April 9–11, 1984, Lecture Notes in Computer Science, vol. 209, Springer-Verlag, pp. 216–223,doi:10.1007/3-540-39757-4_19.
  26. ^Yap, Wun-She; Yeo, Sze Ling; Heng, Swee-Huay; Henricksen, Matt (2013), "Security analysis of GCM for communication",Security and Communication Networks,7 (5):854–864,doi:10.1002/sec.798.
  27. ^Agrawal, Manindra; Kayal, Neeraj; Saxena, Nitin (2004),"PRIMES is in P"(PDF),Annals of Mathematics,160 (2):781–793,doi:10.4007/annals.2004.160.781,JSTOR 3597229,archived(PDF) from the original on 2022-10-09
  28. ^Matthews, Robert A. J. (1992), "Maximally periodic reciprocals",Bulletin of the Institute of Mathematics and Its Applications,28 (9–10):147–148,MR 1192408.
  29. ^Peterson, Ivars (Dec 21, 2002),"Drama in numbers: putting a passion for mathematics on stage",Science News,doi:10.2307/4013968,JSTOR 4013968,[Jean E.] Taylor pointed out that the example of a Germain prime given in the preliminary text was missing the term "+ 1." "When I first went to see 'Proof' and that moment came up in the play, I was happy to hear the 'plus one' clearly spoken," Taylor says.
  30. ^Ullman, Daniel (2006),"Movie Review: Proof"(PDF),Notices of the AMS,53 (3):340–342,archived(PDF) from the original on 2022-10-09,There are a couple of breaks from realism inProof where characters speak in a way that is for the benefit of the audience rather than the way mathematicians would actually talk among themselves. When Hal (Harold) remembers what a Germain prime is, he speaks to Catherine in a way that would be patronizing to another mathematician.

External links

[edit]
Prime number classes
By formula
By integer sequence
By property
Base-dependent
Patterns
k-tuples
By size
Complex numbers
Composite numbers
Related topics
First 60 primes
Retrieved from "https://en.wikipedia.org/w/index.php?title=Safe_and_Sophie_Germain_primes&oldid=1273119614"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp