Template:PartialQuotientTable-Start

{| border="1" ! align="right" style = "padding: 2px 10px" | $r$ ! align="right" style = "padding: 2px 10px" | $P_r = a_{r - 1} Q_{r - 1} - P_{r - 1}$ ! align="right" style = "padding: 2px 10px" | $Q_r = \dfrac {n - {P_r}^2} {Q_{r - 1} }$ ! align="right" style = "padding: 2px 10px" | $a_r = \left\lfloor{\dfrac{\left\lfloor{\sqrt { } }\right\rfloor + P_r} {Q_r} }\right\rfloor$ ! align="right" style = "padding: 2px 10px" | $0$ ! align="right" style = "padding: 2px 10px" | $0$ ! align="right" style = "padding: 2px 10px" | $1$ ! align="right" style = "padding: 2px 10px" | $$