[Maxima] find integer
toy.raymond at gmail.com
Tue Jan 10 11:00:37 CST 2012
On Sat, Jan 7, 2012 at 5:29 AM, Hans W. Hofmann <hawe at chefmail.de> wrote:
> I want to find values x to make
> p1 and p2 integer. How to do this in maxima?
Not sure if this is the best approach, but here is one way.
This gives two equations for x. Make them equal so we get an equation in
p1 and p2, where p1 and p2 are integers. This is a Diophantine equation.
A Google search shows that someone posted a Diophantine equation solver,
but I can't find the code right now. If I do it by hand, I get x =
44*r+64, where r is any integer. This gives p1 = 16*r+4 and p2 = 35*r+10.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima