求證明方法 (餘數)

2007-07-12 12:09 pm
A X B X C ... 除以 Y之餘數
= "A 除 Y 之餘數" 乘 "B 除 Y 之餘數" 乘 "C 除 Y 之餘數" ... 的積 除以 Y 的餘數

求證明方法

回答 (1)

2007-07-12 4:51 pm
✔ 最佳答案
Let A = aY + R1
  B = bY + R2
  C = cY + R3
A x B x C = (aY + R1)(bY + R2)(cY + R3)
     = [(a+b)Y + R2 x aY + R1 x bY + R1 x R2](cY + R3)
     = (a+b+c)Y + R3 x (a + b)Y + R2 x (a+c)Y + R2 x R3 x aY + R1 x (b + c)Y +
      R1 x R3 x bY + R1 x R2 x cY + R1 x R2 x R3
when A x B x C is divided by Y, by distribution law, all terms except R1 x R2 x R3 is divisible by Y. Hence, the remainder is R1 x R2 x R3 / Y,

i.e.The remainder of A x B x C / Y = (The remainder of A / Y x The remainder of B / Y x The remainder of C / Y ) / Y


收錄日期: 2021-04-13 00:45:39
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070712000051KK00527

檢視 Wayback Machine 備份