&&x = \sqrt{D}, \\
&&p_0 = 0, \\
&&q_0 = 1, \\
&&a_k =\lfloor \frac{x + p_k}{q_k} \rfloor, \;\; k \ge 0, \\
&&p_{k+1} = a_k Q_k - p_k, \;\; k \ge 0, \\
&&q_{k+1} = \frac{D  - p_{k + 1}^2}{q_k}, \;\; k \ge 0.
Embed the image to your blog in HTML, Markdown, Textile, BBCode.
Recent Referers:
  1. http://formula.s21g.com/?%26%26x%20%3D%20%5Csqrt%7BD%7D,%...
  2. http://techtipshoge.blogspot.com/2014/10/blog-post.html?f...
  3. http://techtipshoge.blogspot.com/2014_10_01_archive.html?m=1
  4. http://techtipshoge.blogspot.com/2014/10/?m=1
  5. http://techtipshoge.blogspot.com/2014/10/blog-post.html?m=0