MathDB
sum of subsets with k elements from vertices of a tree with n vertices

Source: 2010 Indonesia TST stage 2 test 4 p2

December 16, 2020
combinatoricsgraph theory

Problem Statement

Let TT be a tree withn n vertices. Choose a positive integer kk where 1kn1 \le k \le n such that SkS_k is a subset with kk elements from the vertices in TT. For all SSkS \in S_k, define c(S)c(S) to be the number of component of graph from SS if we erase all vertices and edges in TT, except all vertices and edges in SS. Determine SSkc(S)\sum_{S\in S_k} c(S), expressed in terms of nn and kk.