Continued fraction BCMATH programs
- Euclid's algorithm and the continued fraction expansion of a rational number;
- The optimal continued fraction (OCF) expansion of a rational number;
- Nearest integer version of Euclid's algorithm;
- Guessing the simple continued fraction expansion of logba;
- Calculating the fraction represented by the simple continued fraction a0+1/a1+ ··· +1/an;
- Finding the simple continued fraction of a quadratic irrational;
- Finding the nearest integer continued fraction of a quadratic irrational (A. Huwitz);
- Finding the nearest integer continued fraction of a quadratic irrational (half regular);
- Finding the optimal continued fraction of a quadratic irrational;
- Finding the nearest square continued fraction of a quadratic irrational;
- Selenius' algorithm for converting the regular continued fraction to the nearest square continued fraction;
- An algorithm for converting the regular continued fraction to the nearest integer continued fraction;
- Finding period-length of the simple continued fraction of √d;
- Calculating the quadratic irrationality whose simple continued fraction is given;
- Finding the simple continued fraction of the n-th root of a positive rational;
- Finding the simple continued fraction of the unique positive root of a trinomial axn+bx+c;
- Finding the simple continued fraction of the unique positive root of a trinomial axn+bxn-1+c;
- Finding the continued fraction of the unique positive root > 1 of a polynomial with integer coefficients;
- Finding a Sturm sequence for a squarefree polynomial;
- Factorising a non-negative unimodular matrix;
- Factorising a non-negative non-singular matrix;
- Finding the simple continued fraction of ep/q.
Last modified 28th April 2008
Return to main page