I stumbled on this on Geogebra. Actually i would like to set integers pair $x$ $y$ that fits the general quadratic form.
Given $(x_1,y_1)$ and $(x_2,y_2)$ are integers pairs, i am looking for set of possible solution of integers $a, b$ and $c$ in $$y=ax^2+bx+c$$
Please help.
Subtracting the two equations memberwise,
$$(a(x_1+x_2)+b)(x_1-x_2)=y_1-y_2.$$
Then if $x_1-x_2$ divides $y_1-y_2$,
$$a(x_1+x_2)+b=q,$$
$$b=q-a(x_1+x_2),$$
and from the first equation,
$$c=y_1-ax_1^2-bx_1.$$
Now if you want to find a third pair that fits the model,
$$0=ax_3^2+bx_3+c-y_3=ax_3^2+(q-a(x_1+x_2))x_3+y_1-ax_1^2-(q-a(x_1+x_2))x_1-y_3\\ =(x_1-x_3)(x_2-x_3)a-q(x_1-x_3)+y_1-y_3,\\ =(x_1-x_3)((x_2-x_3)a-q)+y_1-y_3.$$
It requires $x_1-x_3$ to divide $y_1-y_3$, then $x_2-x_3$ to divide $q-q'$.