[問題] 離散考古2005M2

看板b98902HW作者 (zenix)時間14年前 (2009/10/28 17:34), 編輯推噓4(403)
留言7則, 6人參與, 最新討論串1/1
7. Find the number of way to arrange the letters in LAPTOP so that none of the letters L, A, T, O is in its original position and the letter P is not in the third or sixth position. ANS:84 11. Find recurrence relations for the following. (a) The number of ways to fully parenthesize w1+w2+ … +wn. (For example, there are two ways, ((w1+w2)+w3) and (w1+(w2+w3)), to parenthesize w1+w2+w3.) (b) The number of derangements of 1, 2, …, n. ANS:(a) a = a * a + a * a + .... a * a ,a =1,a =1,a =2 n 1 n-1 2 n-2 n-1 1 1 2 3 (b) a = n! - nC1 * (n-1)! + nC2 * (n-2)! + ... nCn * 0! n 以上這兩題 高中排容忘的差不多了,第七題希望可以給詳細的式子 第11題只要給(b)的做法 (我發現我只要題目稍有變化就做不太出來了QQ) 解A(x)解不太出來... 感激不盡 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.241.21

10/28 21:32, , 1F
這篇文應該放在b97HW板上會比較快回文
10/28 21:32, 1F

10/28 21:33, , 2F
其實也可以放math版啦...
10/28 21:33, 2F

10/28 21:39, , 3F
原來是這兩題..我好像會 但是考完試了..你還想知道嗎?
10/28 21:39, 3F

10/28 22:18, , 4F
這題用rook其實不錯好做
10/28 22:18, 4F

10/28 22:47, , 5F
rook是什麼???
10/28 22:47, 5F

10/28 23:19, , 6F
第七題考慮 不取p 取一個p 取兩個p來做
10/28 23:19, 6F

10/28 23:46, , 7F
第十一題哩??用老師講的方法好像甚麼都做不出來
10/28 23:46, 7F
文章代碼(AID): #1Aw10QVz (b98902HW)