Content deleted Content added
Citation bot (talk | contribs) Altered title. Add: author-link1, jstor, doi, authors 1-1. Removed parameters. Some additions/deletions were parameter name changes. | Use this bot. Report bugs. | Suggested by Dominic3203 | Linked from User:Mathbot/Possible_redirects | #UCB_webform_linked 111/972 |
|||
Line 45:
=== Legendre's theorem on continued fractions ===
{{see also|Simple continued fraction}}
In his ''Essai sur la théorie des nombres'' (1798), [[Adrien-Marie Legendre]] derives a necessary and sufficient condition for a rational number to be a convergent of the [[simple continued fraction]] of a given real number.<ref>{{cite book|last=Legendre|first=Adrien-Marie|author-link=Adrien-Marie Legendre|title=Essai sur la théorie des nombres|date=1798|publisher=Duprat|___location=Paris|publication-date=1798|pages=27–29|language=fr}}</ref> A consequence of this criterion, often called '''Legendre's theorem''' within the study of continued fractions, is as follows:<ref>{{cite journal|
'''Theorem'''. If ''α'' is a real number and ''p'', ''q'' are positive integers such that <math>\left|\alpha - \frac{p}{q}\right| < \frac{1}{2q^2}</math>, then ''p''/''q'' is a convergent of the continued fraction of ''α''.
{{collapse top|title = Proof}}
'''Proof'''. We follow the proof given in ''[[An Introduction to the Theory of Numbers]]'' by [[G. H. Hardy]] and [[E. M. Wright]].<ref>{{cite book|
Suppose ''α'', ''p'', ''q'' are such that <math>\left|\alpha - \frac{p}{q}\right| < \frac{1}{2q^2}</math>, and assume that ''α'' > ''p''/''q''. Then we may write <math>\alpha - \frac{p}{q} = \frac{\theta}{q^2}</math>, where 0 < ''θ'' < 1/2. We write ''p''/''q'' as a finite continued fraction [''a''<sub>0</sub>; ''a''<sub>1</sub>, ..., ''a<sub>n</sub>''], where due to the fact that each rational number has two distinct representations as finite continued fractions differing in length by one (namely, one where ''a<sub>n</sub>'' = 1 and one where ''a<sub>n</sub>'' ≠ 1), we may choose ''n'' to be even. (In the case where ''α'' < ''p''/''q'', we would choose ''n'' to be odd.)
Line 58:
{{collapse bottom}}
This theorem forms the basis for [[Wiener's attack]], a polynomial-time exploit of the [[RSA (cryptosystem)|RSA cryptographic protocol]] that can occur for an injudicious choice of public and private keys (specifically, this attack succeeds if the prime factors of the public key ''n'' = ''pq'' satisfy ''p'' < ''q'' < 2''p'' and the private key ''d'' is less than (1/3)''n''<sup>1/4</sup>).<ref>{{cite journal|last=Wiener|first=Michael J.|date=1990|title=Cryptanalysis of short RSA secret exponents|url=https://ieeexplore.ieee.org/document/54902|journal=[[IEEE Transactions on Information Theory]]|volume=36|issue=3|pages=553–558|doi=10.1109/18.54902 |via=IEEE}}</ref>
==See also==
Line 70:
==References==
*{{cite book |authorlink=Wolfgang M. Schmidt |first=Wolfgang M |last=Schmidt |title=Diophantine
*{{cite book |first=Wolfgang M. |last=Schmidt |title=Diophantine Approximations and Diophantine Equations |publisher=Springer |series=Lecture Notes in Mathematics book series |volume=1467 |year=1991 |isbn=978-3-540-47374-9 |doi=10.1007/BFb0098246|s2cid=118143570 }}
|