[理工] [離散] 離散聖經本 Ch10 練習題

看板Grad-ProbAsk作者 (阿湯)時間14年前 (2011/09/19 01:15), 編輯推噓3(304)
留言7則, 2人參與, 最新討論串1/2 (看更多)
如題 想問一下 離散聖經本 10.2練習 17 要怎麼解釋答案 還有題目的意思 a) For a fixed nonegative integer n,how many compositions of n+3 have no 1 as a summand? b) For the compositions in part(a), how many start with (i)2; (ii)3;(iii) 2<=k<=n+1 ? c) How many of the compositions in part (a) start with n+2 or n+3? 答案如下 a) Fn+2 這裡的 Fn 指得應該是費氏遞迴 b) (i)Fn (ii)Fn-1 (iii) Fn-k+2 c) n+2:0 n+3:1 有勞各位大俠相助了~感恩 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.112.107

09/20 00:19, , 1F
我用猜的 隨便看看就好 An=An-1+An-2
09/20 00:19, 1F

09/20 00:20, , 2F
A0=1(3=2+1) A1=2(4=3+1 or 4=2+2)
09/20 00:20, 2F

09/20 00:21, , 3F
因為我不太確定他的composites是加法還是乘法 orz
09/20 00:21, 3F

09/20 00:22, , 4F
b 看不懂他在說什麼 c的話
09/20 00:22, 4F

09/20 00:23, , 5F
2!=1+1 不存在 3=1+2
09/20 00:23, 5F

09/20 12:36, , 6F
請問A大是怎麼導出An=An-1+An-2的?
09/20 12:36, 6F

09/20 20:27, , 7F
sorry 亂猜的> < 我原本想法是平移的cataln number
09/20 20:27, 7F
文章代碼(AID): #1ETYTFOP (Grad-ProbAsk)
文章代碼(AID): #1ETYTFOP (Grad-ProbAsk)