作者Aa841018 (andrew)
看板Grad-ProbAsk
標題Re: [理工] 104清大離散
時間Mon Jan 20 20:03:29 2020
※ 引述《CaliforCat (加州貓)》之銘言:
: 今天那題0~9的n個digital number 包含2,7不包含0,3,9
: 有人說是7^(n-2)
: 但包含的2,7這兩個bit不用考慮可放的位置
: 再乘n(n-1)嗎?
這題雖然我會用EGF做出來,但不知道要如何用排容做,第一步算包含2的個數,然後想到
2可以有1,2,3………個,我就卡住了
請問一下,這題要怎麼用
排容做啊?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 110.28.64.164 (臺灣)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Grad-ProbAsk/M.1579521811.A.600.html
1F:→ mathtsai: 7^(n-2) - 5^(n-2) ? 01/20 20:10
2F:→ mathtsai: 沒事 想錯 01/20 20:10
3F:→ mathtsai: 7^(n-2) -> 不包含0,3,9 5^(n-2) -> 不包含0,3,9 & 2,7 01/20 20:12
4F:→ Ricestone: 7^n-不包含2-不包含7+不包含7跟2 01/20 20:18
5F:→ Aa841018: 謝謝兩位大大,我好像想的太複雜了… 01/20 20:24
6F:→ mathtsai: 我打錯 被文章n-2影響 應該是7^n - 5^n 01/20 21:05
7F:→ mathtsai: R大的算式好像不太一樣? 01/20 21:05
8F:→ Ricestone: 7^n-5^n是有2or7,我的是有2and7 01/20 21:08
9F:推 mistel: 我記得這題意思應該是同時含2and7 01/20 21:47
10F:→ Aa841018: 他的敘述就是contain 2,7 not cotain 0,3,9應該是and的 01/21 03:58
11F:→ Aa841018: 意思吧? 01/21 03:58
12F:→ Ricestone: 原題是寫the digits 2 and 7 but not the digits 0,8,9 01/21 04:06