本文介绍了下面提到的问题的算法请帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

执行以下归纳证明:



设d1,d2,...,dn,n至少为2,为正整数。使用数学归纳来解释为什么,如果d1 + d2 + ... + dn = 2n-2,那么必须有一个具有n个顶点的树,其度数正好是d1,d2,...,dn。 (请注意阅读此声明。与顶点度d1,d2,...,dn的任何树必须满足d1 + d2 + ... + dn = 2n-2的情况不同,尽管这也是正确的。相反,它说如果你从数字d1,d2,...,dn开始,那么你可以找到这样的树。)

Do the following inductive proof:

Let d1, d2, ..., dn, with n at least 2, be positive integers. Use mathematical induction to explain why, if d1+ d2+…+dn = 2n-2, then there must be a tree with n vertices whose degrees are exactly d1, d2, ..., dn. (Be careful with reading this statement. It is not the same as saying that any tree with vertex degrees d1, d2, ..., dn must satisfy d1+ d2+...+dn = 2n-2, although this is also true. Rather, it says that if you begin with the numbers d1, d2, ..., dn, then you can find such a tree.)

推荐答案


这篇关于下面提到的问题的算法请帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 07:29