What is the remainder when the positive integer x is divided by 8? (1) when x is divided by 12, the remainder is 5, (2) when x is divided by 18, the remainder is 7.
这道题的解法是:
条件1:x=12m+5 x=8m+4m+5 当m=1(奇数), if divided by 8, then余数为1, 当m=2(偶数)时, 余数=5
条件2:x=18n+7 x=16n+2n+7 当n=1时, if divided by 8,then 余数为1; 当 n=2,余数=3; 当n=3,余数=5.