The question is from Burton's Elementary Number Theory. I want to know if my proof is legible. Proof : Let $$d=gcd(2a+1, 9a+4)$$ Then $$d|2a+1$$ and $$d|9a+4$$ $$2a+1=db$$ and $$9a+4=dc$$ $$ a = \frac{db-1}{2}$$and$$a= \frac{dc-4}{9}$$ Equating both equations : $$ 9db-9=2dc-8 $$ $$ d(9b-2c) = 1 $$ $$ 9b-2c = \frac{1}{d}$$ Now, since b and c are integers, therefore $\frac{1}{d}$ is an integer, i.e d divides 1 and therefore $$gcd(a, b)= d = 1$$.
4 Answers
Divide $2a+1$ into $9a+4$ giving $9a+4 = 9/2\cdot (2a+1) - 1/2$ or $2(9a+4) = 9(2a+1)-1$, or $1= -2(9a+4) + 9(2a+1)$. So each divisor of $9a+4$ and $2a+1$ divides $1$.

- 20,964
-
You are dividing $2a+1$ into $9a+4$, not the other way around as you have typed. – Michael Munta Jan 07 '19 at 18:27
-
Looks good to me. Some nit picks follow:
A bit of formatting may help readability. For much of your answer you have pairs of equations which belong together, but the pairs which belong together aren't the pairs which appear close to one another.
After "therefore $\frac{1}{d}$ is an integer", you can just say "so $d=1$ and we're done". Remember that $d=1$ is the very thing we want to prove, so it's unnecessary to continue with more calculations once you've reached that conclusion.
And personally I would probably have used the Euclidean algorithm instead.

- 199,419
-
The formatting is sloppy indeed. Thanks for the 'nitpicks'. I seem to lack the knowledge of the Euclidean Algorithm since it is the next topic in the book. – P.Jo Jan 04 '19 at 16:21
-
@P.Jo Then it's no wonder you didn't use it. The Euclidean algorithm is basically a way of simplifying the two expressions without changing their $\gcd$. If you can simplify until one of them becomes $1$ or $0$ (which always happens if you only have integers, but not necessarily if you have expressions like yours), then you're done. If not, then at least it will be simplified and easier to use alternate methods like yours. – Arthur Jan 04 '19 at 16:30
-
As Siong Thye Goh said, we can use the Euclidean algorithm to guide us to a proof. The Euclidean algorithm is based on the fact that $gcd(x,y)=gcd(x,y-tx)$. If we take $x=2a+1$, $y=9a+4$, and $t=4$, then we get $gcd(2a+1,9a+4)=gcd(2a+1,a)$. Applying it again with $x=a$, $y=2a+1$, $t=2$, we get $gcd(2a+1,a)=gcd(1,a)$. From there, it's easy to see that the gcd is $1$.

- 12,210
Seems fine.
Alternatively,
$$9a+4=4(2a+1)+a$$
$$2a+1=2(a)+1$$
Hence,
$$1=(2a+1)-2a=(2a+1)-2(9a+4)+8=9(2a+1)-2(9a+4)$$
That is the greatest common divisor of $2a+1$ and $9a+4$ must divide $1$. Hence the greatest common divisor is $1$.

- 149,520
- 20
- 88
- 149
-
-
I am using Euclidean algorithm to express the gcd as a combination of the two numbers. – Siong Thye Goh Jan 06 '19 at 11:08
-
Can you please explain how this happens? I know how it works with integers, but not with expressions like these. – Michael Munta Jan 06 '19 at 11:16
-
For the first part, I divide $9a+4$ by $2a+1$ and find that the remainder to be $a$. After which , I divide $2a+1$ by $a$ and obtain a remainder of $1$, then I work backward to substitute $a$ in terms of $9a+4$ and $2a+1$. – Siong Thye Goh Jan 06 '19 at 11:21
-
-
-
How did you get $4(2a+1) + a$ by dividing $9a + 4$ by $2a+1$? Can you show the steps please? – Michael Munta Jan 06 '19 at 14:04
-
-
$$\bmod d!:,\ 2a!+!1\equiv 0\equiv 9a!+!4\ \Rightarrow\ \color{#c00}0\equiv 9(2a!+!1)-2(9a!+!4)\equiv\color{#c00} 1\ \Rightarrow\ d\mid \color{#c00}{1!-!0}\qquad$$ – Bill Dubuque Jan 04 '19 at 17:02
$$d\mid 2a!+!1,9a!+!4\ \Rightarrow\ d\mid 1!=! 9(2a!+!1)-2(9a!+!4)\qquad $$ since multiples of $d$ are closed under integral linear combinations. – Bill Dubuque Jan 04 '19 at 17:27