Skip to Content

Discrete Math

For a given function f(n)=2n+3f(n) = 2n + 3, determine the Big O, Omega, and Theta notation expressions.

Prove that a specific algorithm has an upper bound according to Big-O notation.

Prove by induction that the sum of the series r=1nr2\sum_{r=1}^{n} r^2 is equal to n(n+1)(2n+1)6\frac{n(n+1)(2n+1)}{6}.

Prove that the sum of the squares of the first nn natural numbers can be expressed as: 12+22+32++n2=n(n+1)(2n+1)61^2 + 2^2 + 3^2 + \cdots + n^2 = \frac{n(n+1)(2n+1)}{6} for all natural numbers n1n \geq 1 using proof by induction.

Prove that the intersection of AA and BB is a subset of AA union BB.

Prove that ABCA - B \cap C is a subset of ABACA - B \cup A - C.

Prove De Morgan's Law: (AB)=AB(A \cup B)' = A' \cap B'.

Prove that if AA is a subset of BB, then ACA - C is a subset of BCB - C.

Write an equivalent logical expression using quantifiers for the statement: "A union B is a subset of C difference D".

Write an equivalent logical expression using quantifiers for the statement: "A union B is not a subset of C difference D" using the negation of previous statements.

Define the nth number ana_n in a Fibonacci sequence such that an=an1+an2a_n = a_{n-1} + a_{n-2} for n2n \geq 2, with initial conditions a0=0a_0 = 0 and a1=1a_1 = 1.

Define the recurrence relation for a geometric sequence as an=an1×2a_n = a_{n-1} \times 2 for n1n \geq 1, starting with a0=3a_0 = 3.

For the sequence defined by 0,2,6,12,20,30,420, 2, 6, 12, 20, 30, 42, show that anan1=2na_n - a_{n-1} = 2n and prove that an=n(n+1)a_n = n(n+1) given a0=0a_0 = 0.

Solve the second-order linear homogeneous recurrence relation an=5an16an2a_n = 5a_{n-1} - 6a_{n-2} with initial conditions.

Given the recursive formula an+1=3an+2a_{n+1} = 3a_n + 2, and the first term a1=1a_1 = 1, find the next four terms.

Given the recursive formula an=2(an1)25a_n = 2(a_{n-1})^2 - 5, with the first term a1=2a_1 = 2, find the next three terms.

Given the recursive sequence defined by a0=1a_0 = 1 and an=1+an12a_n = 1 + a_{n-1}^2, compute the first few terms of the sequence.

Using the recursive relation for a sequence similar to the Fibonacci sequence, where a0=1a_0 = 1, a1=1a_1 = 1, a2=1a_2 = 1, and an=an1+an2+an3a_n = a_{n-1} + a_{n-2} + a_{n-3}, find the first few terms of the sequence.

Using the logistic sequence recursive relation an+1=2an(1an)a_{n+1} = 2 \cdot a_n \cdot (1 - a_n), with an initial term between 0 and 1, calculate the behavior of the sequence.

Given a set with elements A,B,C,DA, B, C, D, determine if the relation is reflexive, symmetric, and transitive by considering the arrows between the elements.