I wish to find the integers of $a,b,c$ and $d$ such that: $$225a + 360b +432c +480d = 3$$ which is equal to: $$75a + 120b +144c+ 160d =1$$
I know I have to use the Euclidean algorithm. And I managed to do it for two integers $x$ and $y$. But can't figure out, how to do it with $4$ integers.
TO solve $75a+120b+144c+160d=1$
You can always you Euclidean Algorithm to solve $75A + 120B = \gcd(75,120)=15$
And to solve $120\beta + 144\gamma = \gcd(120,144) = 24$
And to solve $144C+160D = \gcd(144,160)=16$.
Then in an attempt to solve $15e + 24f + 16g=1$ and to
Solve $15E + 24F= \gcd(15,24) = 3$ and $24\phi + 16\rho = \gcd(24,16)=8$.
Then solve $3j + 8k = 1$.
Then $j(15E + 24F) + (24\phi + 16\rho)k = 15(jE) + 24(jF+\phi k) + 16(\rho k)=1$
So $e=jE; f=jF+\phi k; g=\rho k$ and
So $(75A + 120B)e + (120\beta + 144\gamma)f + (144C+160D)g = 1$
And $a = Ae; b=Be+\beta f; c=\gamma f + Cg; d = Dg$.
Of, course there are probably insights and ways to make it simpler along the way.
But that's the general idea, just break it into smaller and smaller pieces.
===
To actually do this:
$75A + 120B = 15$ means $5A + 8B =1$ so $A=-3; B=2$ and $75(-3) + 120(2) = 15$.
$120B + 144C =24$ means $5B + 6C =1$ so $B=-1;C=1$ and $120(-1)+144(1) = 24$. (Don't let the recycling of variable names scare you; we won't combine them.)
$144C + 160D=16$ means $9C + 10D =1$ so $144(-1) + 160(1) = 16$.
The solve $15e + 24f + 16g = 1 $ .... well, I can just see $f=0$ and $e = -1; g = 1$ so
$-(75(-3) + 120(2)) + (144(-1) + 160(1)) = -15 + 16 = 1$ So
$75*3 + 120*(-2) + 144(-1) + 160(1) = 1$