作者mqazz1 (無法顯示)
看板Math
標題[離散] 排容
時間Sat Apr 2 20:32:52 2011
find the number of solutions to the equation
x1 + x2 + x3 + x4 = 18
in which each xi, 1 <= xi <= 9
justify your answer is required
(hint: consider the inclusion and exclusion principle)
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.29.250
推 privatewind :算出全部的 再去掉當一個大於10 兩個大於10 ... 04/02 22:49
→ privatewind :這是用他hint 去解,如果不想就用生成函數 04/02 22:49