Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

AMS 301 Homework #5

Due Date: 11:59pm, 12/11/2023

There are 10 problems. Each is worth 10 points for trying. Type up solutions to the first 2 problems.

1. a) Build a generating function for ar, the number of integer solutions to the equation

e1 + e2 + e3 + e4 + e5 = r, 0 ≤ ei ≤ 4. Completely explain your answer.

b) Build a generating function to count the number of integer solutions to the equation

1 + x + x2 + x3 + x4 = 32 where x1 and x2 ≥ 5 and x3 and x4 ≥ 7. Explain how to get the answer.

2. a) Find the coefficient of x8 in (x2 + x3 + x4)3.

b) Find the coefficient of x10 in (1 + x5 + x10 + x15  + ….)3.

3. Use generating functions to find the number of ways to make change for $100 using the given constraint. Make sure to explain the answer using generating functions.

a) Using $10, $20 and $50 dollar bills.

b) Using $5, $10, $20 and $50 dollar bills;

c) Using $5, $10, $20 and $50 dollar bills and at least one bill of each denomination is used.

4. a) Find a recurrence relation for the number of bit strings of length n that do not contain three consecutive 0's.

b) What are the initial conditions?

c) How many bit strings of length 7 do not contain three consecutive 0's?

5. Solve the following recurrence relations.

a) an = 2an-1 - an-2, a0 = a1 = 2

b) an = 5an-1 - 6an-2 + 7n, 

6. Solve the following recurrence relations.

a) an = 5an-1 - 6an-2, a0 = 1, a1 = 0

b) an = an-1, a0 = 2 

7. Consider the recurrence relation for the number of regions created by n mutually overlapping circles on a piece of paper (no three circles have a common intersection point).

a) Give the results for n = 2, 3 and 4 by drawing the correct picture.

b) Find the recurrence relation for the number.

c) Find the number when n = 12.

8. Prove by induction that 12 + 32 + … + (2n-1)2 =

9. Prove by induction that the sum of the cubes of three successive positive integers is divisible by 9.

10. For the following Fibonacci identities verify that the identity is true for n = 1, 2, 3 and 4. Then verify the following identities for Fibonacci numbers by induction.

a) f0 + f1 + … + fn = fn+2 − 1

b)  f1 + f3 + … + f2n-1= f2n