本帖最後由 arararchchch 於 23/10/2009 12:22 AM 編輯 被3整除同時被7整除都餘2, 即該數被21整除也餘2 設該未知數為n, n = 21x + 2 ---(1) n = 5y + 3 ---(2) (當中x, y都是整數) 21x + 2 = 5y + 3 y = (21/5)x - 1/5 ----(3) 由於n是整數,所以x,y必定為整數,且>=0 By substitution(代入法), x = 1, y = 4 x = 2, y = 8.2 (rejected) x = 3, y = 12.4 (rejected) x = 4, y = 16.6 (rejected) x = 5, y = 20.8 (rejected) x = 6, y = 25 x = 7, y = 29.2 (rejected) .... 即 (1,4) (6,25) (11,46) ... (5k-1,21k-17) 為符合題目的答案 (k為正整數) 所以, n最小可能值 = 21(1) + 2 = 23 n最小可能值 = 5(4) + 3 = 23 |