65,537

From testwiki
Jump to navigation Jump to search

Template:Infobox number

Construction of a regular 65537-gon. See constructible polygon.

65537 is the integer after 65536 and before 65538.

In mathematics

65537 is the largest known prime number of the form 22n+1 (n=4), and is most likely the last one.[1] 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

220+1=21+1=3,

221+1=22+1=5,

222+1=24+1=17,

223+1=28+1=257,

224+1=216+1=65537.[2]

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

225+1=232+1=4294967297=641×6700417

In 1880, Template:Interlanguage link multi showed that

226+1=264+1=274177×67280421310721

65537 is also the 17th Jacobsthal–Lucas number, and currently the largest known integer n for which the number 10n+27 is a probable prime.[3]

Applications

65537 is commonly used as a public exponent in the RSA cryptosystem. Because it is the Fermat number Template:Nowrap with Template:Nowrap, the common shorthand is "FTemplate:Sub" or "F4".[4] 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).[5]

65537 is also used as the modulus in some Lehmer random number generators, such as the one used by ZX Spectrum,[6] 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

Template:Reflist