返回题库

PUMaC 2008 · 组合(B 组) · 第 10 题

PUMaC 2008 — Combinatorics (Division B) — Problem 10

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

(7分) 给定图(6个顶点9条边)有多少棵生成树?

英文原题

  1. (7 points) How many spanning trees does the following graph (with 6 vertices and 9 edges) have?
    (A spanning tree is a subset of edges that spans all of the vertices of the original graph, but does
    not contain any cycles.)
    E D
    F C
    A B
    2
解析

英文解析

75, 1 possible solution: Establish that a spanning tree includes 5 edges; less does not cover
all vertices and more must include a cycle. There are 9 choose 5 = 126 arbitrary sets of 5 edges.
We need to count 5-edge sets that do not contain cycles, which are connected because they hit all
vertices in some order. There are 2 cycles with 3 edges, 3 cycles with 4 edges, and 6 cycles with 5
edges. Up to 1 cycle can occur in an arbitrary set of 5 edges. Given a cycle, arbitrarily choose
remaining edges: 2 * 15 + 3 * 5 + 6 = 51 edge sets containing a cycle, so there are 126 - 51 = 75
edges without cycles. Thus there are 75 spanning trees.