[试题] 106-2 陈健辉 离散数学 第一次期中考

楼主: Lin25K (近五成考生低于均标)   2018-04-11 22:09:57
课程名称︰离散数学
课程性质︰资工系选修
课程教师︰陈健辉
开课学院:电资
开课系所︰资工系
考试日期(年月日)︰107/04/11
考试时限(分钟):两小时
试题 :
Solutions to Examination #1 (范围:Counting Techniques)
(题目6可直接列答,其他题目务必详列计算过程或详述理由)
1. Find the general solution for a_n+2 - 6a_n+1 + 9a_n = 3(2^n) + 7(3^n), where
n ≧ 0. (10%)
2. At a 12-week conference, Sharon met seven of her friends. During the
conference she met each friend at lunch 32 times, every pair of them 14
times, every foursome four times, each set of five twice, and each set of
six once, but never all seven at once. If she had lunch every day during
the 84 days of the conference, how many days did she have lunch alone?
(10%)
3. There are up to 4^10 + p ×3^9 + q ×2^8 + r 10-digit telephone numbers,
where only the digits 1, 3, 5 and 7 are used and each digit appears at least
twice or not at all. Find p+q+r. (10%)
4. There are p ×C(w, a) + q ×C(w, b) + r ×C(w, c) ways to distribute 120
identical envelopes among four students so that each gets at least 5, but no
more than 40, envelopes. Find w, p*q*r, and a+b+c. (10%)
5. Suppose you plan to take out a loan of 100,000 dollars with interest rate
2% per year and pay it back in 20 years. Then there will be a Constant pay-
ment P = α*(β - (1.02)^-20)^-1 you must make at the end of each year. Wh-
at are α and β? (10%)
6. Consider the problem of Hanoi towers with n = 4. Let D1, D2, D3, D4 denote
the four disks from top to bottem and P1, P2, P3 denote peg 1, peg 2, peg3,
respectively. The following procedure, with some steps omitted, can transf-
er D1, D2, D3, D4 from P1 to P3, where "Dk : Pi -> Pj" means "move Dk from
Pi to Pj". Please complete the procedure by providing the details of the
omitted steps. (10%)
(1) D1 : P1 -> P2; (9) D1 : P2 -> P3;
(2) D2 : P1 -> P3; (10) D2 : P2 -> P1;
(3) D1 : P2 -> P3; (11) (omitted)
(4) D3 : P1 -> P2; (12) D3 : P2 -> P3;
(5) (omitted) (13) D1 : P1 -> P2;
(6) (omitted) (14) D2 : P1 -> P3;
(7) (omitted) (15) D1 : P2 -> P3;
(8) (omitted)
7. For n ≧ 0, evenly distributed 2n points on the circumference of a circle,
and label these points cyclically with 1, 2,..., 2n. Let a_n be the number
of ways to connect these 2n points into n chords so that none of them inte-
rsect. The case for n = 3 is shown in the following figure.
https://i.imgur.com/GsAhQfb.jpg
Explain why a_n = a_0 ×a_n-1 + a_1 ×a_n-2 + a_2 ×a_n-3 + ... +
a_n-2 ×a_1 + a_n-1 ×a_0 holds. (10%)
8. For n ≧ 1, let a_n be the number of ways to write n as an ordered sum of
positive integers, where each summand is at least 2. For example, a_5 = 3
because 5 = 5 = 2 + 3 = 3 + 2. Find a recurrence relation for a_n and exp-
lain your answer. (10%)
9. Suppose n = p ×q ×r, where p, q, r are three prime numbers. Show that the
number of integers m with 1 ≦ m ≦ n and gcd(m, n) = 1 is equal to
n ×(1-1/p) ×(1-1/q) ×(1-1/r). (10%)
10.Show that there are -C(-8, 37) ways to select seven nonconsecutive integers
from {1, 2,..., 50}. (10%)

Links booklink

Contact Us: admin [ a t ] ucptt.com