離散 遞迴 排組
How many bit strings of length 10 contains five consecutive 1s or five consecu
tive 0s?
https://i.imgur.com/yu7KzN5.jpg
請問這題如果不用遞迴解,畫成上面右邊至少含五個連續0的圖,為什麼要減的是至少含
六個連續0的數量(5휲^4),又為什麼只要減六的不用再減至少含七八九十的?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 124.218.32.61 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1561816273.A.88C.html
推
06/30 08:19,
4年前
, 1F
06/30 08:19, 1F
→
06/30 08:19,
4年前
, 2F
06/30 08:19, 2F
→
06/30 08:19,
4年前
, 3F
06/30 08:19, 3F
→
06/30 09:51,
4年前
, 4F
06/30 09:51, 4F
→
06/30 09:51,
4年前
, 5F
06/30 09:51, 5F