Back
1 . What does $$ \sum_{k=2}^{n-1} (k-1)(n-k) $$ count?
(a)
The number of 3-element subsets of an $n$-element set.
(b)
The number of 3-element subsets of an $(n-1)$-element set.
(c)
The number of times you fart when running algorithm $\Silly(n)$.
(d)
The number of 3-element subsets of an $(n+1)$-element set.