65,537

From HandWiki
Short description: Natural number
← 65536 65537 65538 →
Cardinalsixty-five thousand five hundred thirty-seven
Ordinal65537th
(sixty-five thousand five hundred thirty-seventh)
Factorizationprime
Prime6,543rd
Greek numeral[math]\displaystyle{ \stackrel{\digamma}{\Mu} }[/math]͵εφλζ´
Roman numeralLXVDXXXVII
Binary100000000000000012
Ternary100222200223
Quaternary1000000014
Quinary40441225
Senary12232256
Octal2000018
Duodecimal31B1512
Hexadecimal1000116
Vigesimal83GH20
Base 361EKH36

65537 is the integer after 65536 and before 65538.

In mathematics

65537 is the largest known prime number of the form [math]\displaystyle{ 2^{2^{n}} +1 }[/math] ([math]\displaystyle{ n = 4 }[/math]). Therefore, a regular polygon with 65537 sides is constructible with compass and unmarked straightedge. Johann Gustav Hermes gave the first explicit construction of this polygon. In number theory, primes of this form are known as Fermat primes, named after the mathematician Pierre de Fermat. The only known prime Fermat numbers are

[math]\displaystyle{ 2^{2^{0}} + 1 = 2^{1} + 1 = 3, }[/math]

[math]\displaystyle{ 2^{2^{1}} + 1= 2^{2} +1 = 5, }[/math]

[math]\displaystyle{ 2^{2^{2}} + 1 = 2^{4} +1 = 17, }[/math]

[math]\displaystyle{ 2^{2^{3}} + 1= 2^{8} + 1= 257, }[/math]

[math]\displaystyle{ 2^{2^{4}} + 1 = 2^{16} + 1 = 65537. }[/math][1]

In 1732, Leonhard Euler found that the next Fermat number is composite:

[math]\displaystyle{ 2^{2^{5}} + 1 = 2^{32} + 1 = 4294967297 = 641 \times 6700417 }[/math]

In 1880, Fortuné Landry [fr] showed that

[math]\displaystyle{ 2^{2^{6}} + 1 = 2^{64} + 1 = 274177 \times 67280421310721 }[/math]

65537 is also the 17th Jacobsthal–Lucas number, and currently the largest known integer n for which the number [math]\displaystyle{ 10^{n} + 27 }[/math] is a probable prime.[2]

Applications

65537 is commonly used as a public exponent in the RSA cryptosystem. Because it is the Fermat number Fn = 22n + 1 with n = 4, the common shorthand is "F4" or "F4".[3] This value was used in RSA mainly for historical reasons; early raw RSA implementations (without proper padding) were vulnerable to very small exponents, while use of high exponents was computationally expensive with no advantage to security (assuming proper padding).[4]

65537 is also used as the modulus in some Lehmer random number generators, such as the one used by ZX Spectrum,[5] which ensures that any seed value will be coprime to it (vital to ensure the maximum period) while also allowing efficient reduction by the modulus using a bit shift and subtract.

References

  1. Conway, J. H.; Guy, R. K. (1996). The Book of Numbers. New York: Springer-Verlag. p. 139. ISBN 0-387-97993-X. https://archive.org/details/bookofnumbers0000conw. 
  2. "Sequences by difficulty of search". http://mada.la.coocan.jp/nrr/prime/primedifficulty.txt. 
  3. "genrsa(1)". OpenSSL Project. https://www.openssl.org/docs/man1.0.2/apps/genrsa.html. "-F4|-3 [..] the public exponent to use, either 65537 or 3. The default is 65537." 
  4. "RSA with small exponents?". https://crypto.stackexchange.com/questions/109/rsa-with-small-exponents. 
  5. "Chapter 11. Random numbers". Sinclair ZX Spectrum Basic Programming (2nd ed.). Sinclair Research Ltd.. 1983. pp. 73–75. https://worldofspectrum.org/ZXBasicManual/zxmanchap11.html. Retrieved 2022-05-26. "The ZX Spectrum uses p=65537 and a=75, and stores some bi-1 in memory."