Prior to that solved a similar equation. Solutions like wrote. Then I thought to solve a similar equation.

Diophantine equation: $X^2+XY+Y^2=Z^2+1$

Some solutions are unpretentious parameterization.




And more:




Solutions can be written using the solutions of Pell's equation: $p^2-(3k^2-6k+1)s^2=\pm1$

And the solutions are of the form:








But quickly found out that you can draw more formula. Therefore, so as not to draw every time different formulas. Thought can draw right formula in general?

That is, draw the solution of equation: $X^2+XY+Y^2=Z^2+q$

$q$ - what some given integer.

So what can be interesting ideas to solve this equation in general form?


For the equation: $X^2+XY+Y^2=Z^2+q$

Write down the solution when the number can be factored as follows. $q=(a-b)(a+b)$

Then use the solution of Pell's equation: $p^2-ns^2=1$

Where the coefficient is given by: $n=3k^2-6kt+t^2$

$k,t$ - integers asked us.

Then the solution can be written:




And more.





Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.