Calculating the simple continued fraction of √d over a range of consecutive d

The period is printed in bold font.

Enter m (m > 1):
Enter n (n ≥ m):

Last modified 5th February 2009
Return to main page