Răspuns:
1.
n;8=358 rest r
r<8 si r impar => r poate fi 1, 3, 5, sau 7
n=8x358+r => n poate fi 2865, 2867, 2869, 2871
2.
a+b=157
a:b=5 rest 13 => a=5xb+13
a+b=5xb+13+b=157 <=> b=144:6=24 => a=133
3.
a+b=585
a:b=8 rest 18 => a=8xb+18
a+b=8xb+18+b=585 <=> b=567:9=63 => a=522