韓信點兵解法:求 X 滿足X2 (mod3)X3 (mod5)X2 (mod7)=3x5=151 (mod7)=3x7=211 (mod5)=5x7=352 (mod3)找 使得 , , 0(mod3), 0(mod5) , 1(mod7) 0(mod3), 1(mod5) , 0(mod7) 1(mod3), 0(mod5) , 0(mod7) =15, =21, =70 2x +3x +2x =2x15+3x21+2x70=233 233105x2=23X23 mod105 ,12,.in modgc(,)ij j121M=.ni nj令 iimX2 mod3X3 mod5X2 mod73573M53721M75gcd(,)1 mo diiiiiCCxaMX1 mod5X1 mod7X2 mod115X7=351517535 mod16 70 12od5436 m1 3021596 mod385M韓信點兵三人同型七十稀武術梅花廿一隻妻子團圓正半月除百零五便得知23323 mod105701mod3,70 od5,70 mod2 2215, , xxx由真值表求布林代數式積項和和項積卡諾圖(式子最簡短)變數 (,)(,)變數 (,)(,)變數 (,).布林代數式