solve Diophantine equations for integer solutions
set of equations or single equation, or inequalities
(optional) set of variables or a variable
The procedure isolve tries to solve the equations in eqns over the integers. It solves for all of the indeterminates occurring in the equations.
The optional second argument vars is used to name global variables that have integer values and occur in the solution, and if there is only one argument, then the global names _Z1, _Z2, and so forth, are used. For non-negative solutions, _NN1, _NN2, and so forth, are used. This has been introduced since Release 5.1 which used to use _N1 in order to make the behavior similar to that of solve.
It returns the NULL value if either there are no integer solutions or Maple is unable to find the solutions.
The isolve command has some limited ability to deal with inequalities.
The isolve command can solve systems of linear equations, single polynomial equations, quadratic forms and homogeneous Pythagorean equations of the form a*X^2 + b*Y^2 + c*Z^2 = 0. In addition, Maple can solve Diophantine equations of the form p( x ) = c*y, for integral constants c, and a rational polynomial p( x ).
You can request that isolve display information about the solving processing by setting infolevel[isolve] to a non-zero value.
A solution to a single linear Diophantine equation is returned in terms of _Z1.
To change the free parameter, use the optional second argument.
A system of linear Diophantine equations.
NULL is returned if Maple is unable to find any integer solutions.
The following example has an unique rational solution, but no integral solutions.
The following homogeneous polynomial in x, y, z has genus 0.
An example of a system of inequalities.
Download Help Document
What kind of issue would you like to report? (Optional)