A demonstation of Wiener's Attack against RSA in the case of a small private exponent with the concept of continued fractions.
for
The nth convergent of
Identity of convergents - Convergents are a "best" approximation of
A property of continued fractions where
Let there exist some
Since
We know
Thus we can prove that the the private key d will appear as the the denominator of some convergent of e/N.
Thus using the approximation and substituting k, we get