Some BCMath/PHP number theory programs

Keith Matthews
Here are some of my BC programs that I have made accessible online, using the BCMath/PHP language.
They are translations into BCMATH of some of my BC number theory programs.
Please let me know of any error messages.
  1. Arithmetic

  2. Collatz type problems

  3. Continued fractions

  4. Quadratic diophantine equations and fundamental units

  5. Quadratic residues and nonresidues

  6. Congruences

  7. Primes

  8. Some number theoretic functions

  9. Binary quadratic forms and quadratic fields: Positive discriminants

  10. Binary quadratic forms and quadratic fields: Negative discriminants

  11. Other algorithms
Changes and additions to my BCMATH programs


Last modified 26th July 2006
Return to Keith Matthews' homepage