"A house wife spends 1770 Rupees for purchasing mangoes and apples. She pays 31 Rupees for each mango and 21 Rupees for each apple. If she buys more mangoes than apples, how many mangoes and apples she buys"
I know how to solve this using dolphins equation. can it be solved using chinese reminder theorem. this is what i think. $1770 \equiv x $ (mod $ 31)$ $1770 \equiv y $ (mod $ 21)$. I know how to do the chinese reminder theorem for 1 variable. please help me with this.
$1770=31M+21A$, so $3\equiv 21A\pmod{31}$.
To solve that congruence, you could use the Euclidean algorithm:
$31=1\times21+10$
$21=2\times10+1$
So $1=21-2\times10=21-2\times(31-21)=3\times21-2\times31$,
so $3\equiv9\times21\pmod{31}$.
Can you take it from here?