We are learning congurence class part for an intro course. This is a sample exam question without a solution.
I have poor idea about this problem.
My idea is : suppose there is an a satisfies it.
then I have
7a ≡ 35 (mod 56) and 8a ≡ 24 (mod 56)
then by doing the substraction I get
a ≡ -11 (mod 56)
then
a ≡ 45 (mod 56)
That is all the steps I can do up to now.
Any hint plz?
Thank you in advance.
==========
Addition: actually I found it is the correct anwser that a = 45. But I am not really sure why it is the answer. I got this answer suprisingly..
You can use the method of adding the modulus to solve a problem like this:
$\pmod{8}: a\equiv 5\equiv 13\equiv 21\equiv 29\equiv 37\equiv 45$.
We note that $45$ also satisfies the $\mod{7}$ congruence.
So the solution is $a\equiv 45\pmod{56}$.