The answer to your integer solutions problem can be found in
http://www.alpertron.com.ar/QUAD.HTM
Best
Hugo Scolnik
Imagination is more important than knowledge.--
http://mail.python.org/mailman/listinfo/python-list
http://mathworld.wolfram.com/DiophantineEquation.html
You can use this web application for solving diophantine equations:
http://www.math.uwaterloo.ca/~snburris/htdocs/linear.html
Hugo Scolnik
Imagination is more important than knowledge.--
http://mail.python.org/mailman/listinfo/python-list