In some cases, it is easy to solve the question of determining the integers representable by à quadratic form. Typically, for forms of the shape $ax^2+by^2=c$, it is pretty straightforward as soon as the coefficients are positive, since there are only finitely many checks to do.
Is there a general method (at least in some cases) to solve such quadratic equations in integers?
I know there are powerful methods using Hensel lemma and Hasse principle, or analytic tools like modular forms, to answer (maybe part of) this question. Are there more Arithmetic/elementary way to approach it?
Equation: $[ax^2+by^2=c]$
Above has solution shown below,
$x=2qb+p(a-b)$
$y=2ap-q(a-b)$
$c=(a+b)^2(ap^2+bq^2)$
where $(p,q)$ are parameters,
for, $(a,b,p,q)=(7,5,3,2)$ we get after removing common factors,
$(x,y,c)=(13,19,2988)$