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.
Please let me know of any problems.

  1. Arithmetic

  2. LLL-based integer matrix algorithms

  3. Examples of generalized 3x+1 mappings

  4. Continued fractions

  5. Quadratic diophantine equations and fundamental units

  6. Quadratic residues and nonresidues

  7. Congruences

  8. Primes

  9. Some number theoretic functions

  10. Binary quadratic forms and quadratic fields: Positive discriminants

  11. Binary quadratic forms and quadratic fields: Negative discriminants

  12. Some Markov matrix BCMATH programs
Changes and additions to my BCMath programs


Last modified 23rd November 2011
Return to Keith Matthews' homepage