Find all solutions of the linear congruence $3x-7y \equiv 11$ (mod $13$)
This is a problem from Burton's Elementary Number Theory. The answer says $x \equiv 11+ t, y \equiv 5+6t$ (mod 13).
I don't understand how once can come up with this answer.
The way I solved it was solve $3x \equiv 11+7y$ (mod 13) for each $y = 0,1, \dots, 12$.
Then since $gcd(3,13)=1$, we get a unique solution for each $y$, and inductively I got the relation $x_i=x_0-2i, y_i=y_0+i, i=0,1, \dots, 12$, where $x_0=8, y_0=0$.
Is this method incorrect? How can I get the answer as in the book?
I would appreciate any help.
Doing arithmetic modulo $\;13\;$ all along:
$$3x-7y=11\implies 3x=7y+11\;\stackrel{\div\,3}\implies x=11y+8$$
because $\;3^{-1}=9\;,\;\;and\;\;9\cdot7=11\;,\;\;9\cdot11=8\;$
So the set of all solutions is
$$\left\{\;\binom{11y+8}y\;\;:\;\;\;y\in\Bbb F_{13}\right\}=\left\{\;\binom 80+\binom{11t}t\;\;:\;\;t\in\Bbb F_{13}\;\right\}$$
Now just prove the result in the book is just the above one