I now know my answer's incorrect but can someone explain why my approach is wrong? I tried to follow the logic from this YouTube tutorial https://www.youtube.com/watch?v=ru7mWZJlRQg:
x=1(mod3)
x=2(mod5)
x=3(mod7)
I got 222 by doing the following:
mod 3 mod 5 mod 7
x= 5*7 +3*7 +3*5
x= 35 +21 +15
35(mod 3) = 2(mod3) and we want 1(mod3) so multiply 2(mod3)*2 = 4(mod3) = 1(mod3). So multiply 35*2 in the above chart.
Next, 21(mod5) = 1(mod5) and we want 2(mod5) so multiply 1(mod5)*7 = 7(mod5) = 2(mod5). So multiply 21*7 in the chart.
Last, 15(mod7) = 1(mod7), so multiply 3*1(mod7) = 3(mod7) and multiply 3*15 in the chart so get:
mod 3 mod 5 mod 7
x= 35*2 +21*7 +15*3 = 222