### BCMATH programs for binary quadratic forms and quadratic fields: positive discriminants

- Reducing a binary quadratic form of positive discriminant using the Henri Cohen approach;
- Reducing a binary quadratic form of positive discriminant using the continued fraction approach;
- Reducing a binary quadratic form of positive discriminant using the Zagier approach;
- Finding the composite of two indefinite binary quadratic forms of same positive discriminant;
- Finding the nth power under composition of indefinite binary quadratic forms of positive discriminant;
- Finding the order of under composition of a binary indefinite quadratic forms of positive discriminant in the class group;
- Finding the class number of primitive binary quadratic forms of a given positive discriminant;
- Finding the class number of a real quadratic field.
- Calculating the class numbers of binary quadratic forms with positive discrimants d, for a range of d.
- Calculating the class numbers of real quadratic fields Q(√d) in a given range of squarefree d.

*Last modified 19th July 2016*

Return to main page