Docsity

Sequences, Strong Induction -Discrete Structures | CMSC 250, Assignments of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Fall 2009
CMSC 250: Homework 7
Perlis
Due at the start of discussion section Wednesday, October 28, 2009.
Please staple your homeworks together if you use more than one page.
Problem 1. (1 point) Print your name ,
section number , and your TAโ€™s name .
Problem 2. (1 point) When is the SECOND exam? (NOT Oct. 20!) |
Problem 3. (24 points) Consider the sequence ๐‘Ž๐‘›= 2 โˆ™ ๐‘Ž๐‘›โˆ’1+ 8 โˆ™ ๐‘Ž๐‘›โˆ’2, where ๐‘Ž0= 1 and
๐‘Ž1= 4. Prove that ๐‘Ž๐‘›= 22๐‘› using strong induction.
Problem 4. (24 points) Find a formula for ๐‘Ž๐‘› such that ๐‘–2
๐‘›
๐‘–=1 =๐‘Ž๐‘›. Using constructive
induction, prove and find a formula at the same time.
Problem 5. (25 points) Start with a pile of n pieces of candy. Split it into two (non-empty
piles), of sizes say ๐‘— and ๐‘˜. You get paid ๐‘—๐‘˜ dollars. Keep splitting piles and getting paid
based on the sizes of the new piles until all piles are of size 1.
For example start with four candies. Split into two piles of size two each and get paid
2โˆ™2 = 4 dollars. Each of those piles is split into two piles of size one and you get paid
1โˆ™1 = 1 dollar for each pile. The total is 6 dollars. Alternatively split the original pile
into one and three and get paid 1โˆ™3 = 3 dollars. Split the three piles into a one and two
and get paid 1โˆ™2 = 2 dollars. Split the two piles into a one and one and get paid
1โˆ™1 = 1 dollar. The total is 6 dollars. Use strong induction to show that for ๐‘› candies,
no matter how you split the piles, at the end you are paid exactly ๐‘› ๐‘›โˆ’1
2 dollars.
Problem 6. (25 points) Consider a stone path that is ๐‘› feet long and 1 foot wide. There are
three type of stones that may be used: Block type A, which is 1 ร— 1 square, Block type B,
which is 2 ร— 1 rectangle, and Block type C, which is 2ร—1 right triangle. For a path of a
given length, there are many ways to pave it. For example there are 11 ways to fill a 4
foot path with type A, B and C stones:
A
A
A
A
B
A
A
A
B
A
A
A
B
B
B
C
A
A
A
C
A
A
A
C
C
C
B
C
C
B
Prove that there are 1
3 2 ๐‘›+1 โˆ’ 1
3 โˆ’1 ๐‘›+1 ways to pave a path of length ๐‘›, for ๐‘› โ‰ฅ 1,
using strong induction.

Partial preview of the text

Download Sequences, Strong Induction -Discrete Structures | CMSC 250 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

Fall 2009 CMSC 250: Homework 7 Perlis

Due at the start of discussion section Wednesday, October 28, 2009.

Please staple your homeworks together if you use more than one page.

Problem 1. (1 point) Print your name , section number , and your TAโ€™s name.

Problem 2. (1 point) When is the SECOND exam? (NOT Oct. 20!) |

Problem 3. (24 points) Consider the sequence ๐‘Ž๐‘› = 2 โˆ™ ๐‘Ž๐‘›โˆ’ 1 + 8 โˆ™ ๐‘Ž๐‘›โˆ’ 2 , where ๐‘Ž 0 = 1 and ๐‘Ž 1 = 4. Prove that ๐‘Ž๐‘› = 2^2 ๐‘›^ using strong induction.

Problem 4. (24 points) Find a formula for ๐‘Ž๐‘› such that ๐‘›๐‘–=1 ๐‘–^2 = ๐‘Ž๐‘›. Using constructive induction, prove and find a formula at the same time.

Problem 5. (25 points) Start with a pile of n pieces of candy. Split it into two (non-empty piles), of sizes say ๐‘— and ๐‘˜. You get paid ๐‘—๐‘˜ dollars. Keep splitting piles and getting paid based on the sizes of the new piles until all piles are of size 1.

For example start with four candies. Split into two piles of size two each and get paid 2 โˆ™ 2 = 4 dollars. Each of those piles is split into two piles of size one and you get paid 1 โˆ™ 1 = 1 dollar for each pile. The total is 6 dollars. Alternatively split the original pile into one and three and get paid 1 โˆ™ 3 = 3 dollars. Split the three piles into a one and two and get paid 1 โˆ™ 2 = 2 dollars. Split the two piles into a one and one and get paid 1 โˆ™ 1 = 1 dollar. The total is 6 dollars. Use strong induction to show that for ๐‘› candies, no matter how you split the piles, at the end you are paid exactly ๐‘› ๐‘›โˆ’ 1 2 dollars.

Problem 6. (25 points) Consider a stone path that is ๐‘› feet long and 1 foot wide. There are three type of stones that may be used: Block type A, which is 1 ร— 1 square, Block type B, which is 2 ร— 1 rectangle, and Block type C, which is 2 ร— 1 right triangle. For a path of a given length, there are many ways to pave it. For example there are 11 ways to fill a 4 foot path with type A, B and C stones:

A A A A

B

A

A

A

B

A

A

A

B

B

B

C

A

A

A

C

A

A

A

C

C

C

B

C

C

B

Prove that there are 1 3 2

3 โˆ’^1

๐‘›+1 (^) ways to pave a path of length ๐‘›, for ๐‘› โ‰ฅ 1 , using strong induction.