原帖由 kimwong3252000 於 2011-9-6 06:47 PM 發表
甚麼formula?
總之我只係記
nC1=nx
nC2=n(n-1)x^2
nCr = n!/(r!(n-r)!)
(nCr 沒有x的...btw,nC2 漏了0.5)
nC0 = n!/(0!(n-0)!) = 1
nC1 = n!/(1!(n-1)!) = (n(n-1)!)/(1!(n-1)!) = n
nC2 = n!/(2!(n-2)!) = (n(n-1)(n-2)!)/(2!(n-2)!) = n(n-1)/2
nC3 = n!/(3!(n-3)!) = (n(n-1)(n-2)(n-3)!)/(3!(n-3)!) = n(n-1)(n-2)/6
etc.