Discrete Mathematics · free preview

Chapter 5 Problem Set. Sequences

Problem set for this chapter. Sequences.

1. How this assessment works

This lesson is a curated assessment adapted from MIT OpenCourseWare 6.042J Mathematics for Computer Science (Spring 2015) (https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/), used under CC BY-NC-SA 4.0. Work through the 10 problems in order, for each problem, type your reasoning in the answer box or write it on the handwriting pad, then submit it for AI grading.

How the grading works Every problem is graded by an AI mathematics teacher that reads the official solution shipped with the course. It checks your work criterion by criterion, awards partial credit for correct steps, and returns written feedback. Equivalent mathematics and valid alternative methods are accepted, a different route to the same result can still earn full marks.

If your answer is incomplete, the feedback names exactly which steps are missing, so you can correct them and try again.

2. Problem 1, Fibonacci adjacent terms are relatively prime

Give an inductive proof that the Fibonacci numbers FnF_n and Fn+1F_{n+1} are relatively prime for all n≥0n \ge 0. The Fibonacci numbers are defined as follows F0pill=0F_0 pill=0, F1=1F_1=1, Fn=Fn−1+Fn−2F_n=F_{n-1}+F_{n-2} (for n≥2n\ge 2).

3. Problem 2, Double of a graph and bipartiteness

The double of a graph GG consists of two copies of GG with edges joining corresponding vertices. (a) Draw the double of the graph shown below. (b) Suppose that G1G_1 is a bipartite graph, G2G_2 is the double of G1G_1, G3G_3 is the double of G2G_2, and so forth. Use induction on nn to prove that GnG_n is bipartite for all n≥1n\ge 1.

4. Problem 3, Sum of squares induction proof

Prove that for all n∈Nn \in \mathbb{N}, the following identity holds

∑i=1ni2=n(n+1)(2n+1)6.\sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6}.

5. Problem 4, Coin-Flip tournament success probability

Coin-Flip is a 2 player game. Each player wins with probability exactly 0.50.5. There are no ties. nn people are playing a Coin-Flip tournament. Every person plays a Coin-Flip game with every other person exactly once. Thus everybody plays n−1n-1 games. The outcomes of all the games are mutually independent of one another. We say that the tournament is a success if for every i∈{0,1,…,n−1}i\in\{0,1,\dots,n-1\}, there is exactly one player, which we will refer to as pip_i, with exactly ii wins.

(a) [10 points] Prove that if the tournament is a success, then for any integers j,kj,k with 0≤k<j≤n−10\le k<j\le n-1, pjp_j defeats pkp_k.

(b) [6 points] What is the probability that the tournament will be a success?

(c) [4 points] Show that your answer to part (b) is o(1)o(1).

6. Problem 5, Token landing recurrence relation

A person is passing time by advancing a token on the set of natural numbers. In the beginning, a token is placed on 00. The person keeps playing moves forever. Each move proceeds as follows.

  1. First the person tosses a fair coin (with heads/tails equally likely).
  1. Suppose the token is currently placed on nn. If heads came up, then the person moves the token to n+3n+3, otherwise he moves the token to n+4n+4.

For each n∈Nn\in\mathbb{N}, let EnE_n be the event "There was a move on which the token landed on nn". Let pn=Pr⁡[En]p_n=\Pr[E_n]. Find a recurrence relation for pnp_n. You do not need to solve the recurrence, but you should specify the boundary conditions that would be necessary to find a solution to the recurrence.

7. Problem 6, Schemander Haskeleon Camlizard recurrence and closed form

An unusual species inhabits the forest surrounding Functional City. Each member can take one of three possible forms, called Schemander, Haskeleon, and Camlizard. In January of every year, each individual undergoes evolution, splitting into two individuals whose forms depend on the form of the original. A Schemander splits into a Schemander and a Haskeleon. A Haskeleon splits into a Schemander and a Camlizard. A Camlizard splits into a Schemander and a Haskeleon. In June of year 0, the population consisted of a single Schemander. Assume no individual ever dies and all successfully undergo evolution exactly once every January. (a) [3 pts] Let Sn,Hn,CnS_n,H_n,C_n be the number of Schemanders, Haskeleons, and Camlizards, respectively, in June of year nn. Express Sn,Hn,CnS_n,H_n,C_n in terms of Sn−1,Hn−1,Cn−1S_{n-1},H_{n-1},C_{n-1}, for n>0n>0. (b) [5 pts] Let Tn=Sn+Hn+CnT_n=S_n+H_n+C_n be the total number of individuals in June of year nn. Use induction to prove that Tn=2nT_n=2^n for all n≥0n\ge 0. (c) [2 pts] Show that HninLaTeX=Tn−1−Hn−1H_nin LaTeX= T_{n-1}-H_{n-1} for n>0n>0. (d) [15 pts] Give a closed-form expression for HnH_n. You may use, without proof, the fact stated in part (b) and the recurrence given in part (c).

8. Problem 7, Induction proof for recurrence inequality

Let G0=1G_0 = 1, G1=3G_1 = 3, G2=9G_2 = 9, and define

Gn=Gn−1+3Gn−2+3Gn−3G_n = G_{n-1} + 3G_{n-2} + 3G_{n-3}

\nfor n≥3n \ge 3. Show by induction that Gn≤3nG_n \le 3^n for all n≥0n \ge 0.

9. Problem 8, Squares and Circles game invariant

In the game of Squares and Circles, players start with a finite collection of circles and squares. On each move, a player chooses any two shapes and replaces them with one shape according to:

  • A pair of identical shapes is replaced with a square.
  • A pair of different shapes is replaced with a circle.

The game ends when only one shape remains; you win if it is a circle.

(a) Prove that the game will end.

(b) Prove that you will win if and only if the number of circles initially is odd.

10. Problem 9, Cycles in graph by induction

Let GG be a graph with mm edges, nn vertices, and kk components. Prove that GG contains at least m−n+km - n + k cycles. (Hint. Prove this by induction on the number of edges, mm.)

11. Problem 10, Induction predicate classification case B

Suppose S(n)S(n) is a predicate on natural numbers, nn, and suppose ∀k∈N  S(k)⟶S(k+2)\forall k \in \mathbb{N}\; S(k) \longrightarrow S(k+2) (1). If (1) holds, indicate whether the assertion must always (A) hold, can (C) hold but not always, or can never (N) hold by circling the correct letter. (b) S(1)⟶∀n S(2n+1)S(1) \longrightarrow \forall n\, S(2n + 1)

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free