Constantly there are threads with a question - how to find the solution of those equations.

So I think that you need to draw the formula describing their solutions. At least, the formula does not hurt.

Often there is a need to address such equations.

So let there be this formula.

Formula generally look like this: Do not like these formulas. But this does not mean that we should not draw them.

To start this equation zayimemsya, well then, and others.

Solutions can be written if even a single root. , ,

Then the solution can be written.

In the case when the root whole. Solutions have the form.

In the case when the root whole. Solutions have the form.

Since these formulas are written in general terms, require a certain specificity calculations.If, after a permutation of the coefficients, no root is not an integer. You need to check whether there is an equivalent quadratic form in which, at least one root of a whole. Is usually sufficient to make the substitution or more In fact, this reduces to determining the existence of solutions in certain Pell's equation. Of course with such an idea can solve more complex equations. If I will not disturb anybody, slowly formula will draw. number integers and set us. I understand that these formulas do not like. And when they draw - or try to ignore or delete. Formulas but there are no bad or good. They either are or they are not.

In equation

integer coefficients which specify the conditions of the problem.

For a more compact notation, we introduce a replacement.

Then the formula in the general form is:

And more.

are integers and are given us. Since formulas are written in general terms, in the case where neither the root is not an integer, it is necessary to check whether there is such an equivalent quadratic form in which at least one root of a whole. If not, then the solution in integers of the equation have not.