-2

ここにタスクがあります

How many ways are there to choose from the set {1, 2, . . . , 100} three distinct
numbers so that their sum is even?

まず第一に、3つの数の合計は偶数です

1.all number is even
2.two of them is odd and one is even

そんなこと知ってる

(n)   =  n!/(k!*(n-k)!   
(k)   

誰でもこの問題を解決するのを手伝ってくれますか

4

1 に答える 1

1

それは単にそうではないでしょうか

(50 choose 3) + (50 choose 2) * (50 choose 1)

?

于 2010-06-13T07:36:30.117 に答える