For example; $$y^2 = 30x + 1$$ For which one answer is; $$11^2 = 30(4) + 1 = 121$$
WA kindly gave me 4 answers; $$x = 2 (15 n^2 - 29 n + 14), y = 29 - 30 n, n \in Z$$ $$x = 2 (15 n^2 - 19 n + 6), y = 19 - 30 n, n \in Z$$ $$x = 2 (15 n^2 - 11 n + 2), y = 11 - 30 n, n \in Z$$ $$x = 2 (15 n^2 - n), y = 1 - 30 n, n \in Z$$
Please help me learn how to get from my example to those 4 answers.
I'm more interested in a general solution in terms of $m$ and $b$. $30$ and $1$ are just random, convenient values for example. Though, I can work backward from example values to the general solution.
I recognize the two coefficients of $n$ being $1$ and $29$ are trivially $b$ and $m-b$, respectively.
I'm particularly interested in whether there's an algebraic calculation that yields the coefficients of $11$ and $19$, or whether it's a search function. I.e., what if $m$ were very large?