Week 6 - Recurrences and Methods of Proof Flashcards

1
Q

How is the fibonnaci sequence defined?

A

F_{n} = F_{n-1} + F_{n-2}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a closed form formula?

A

Being able to find the “nth” term in a sequence based on a formula.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

F(n-1)*F(n+1) = ?

A

F(n^2) + (-1)^n

take 3 sequences of fibonnacci, take the two outer ones, multiply them, and you get the middle one squared by either adding or substracting 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. an = an-1 + d is an ____, it also has constant differences
A

arithmetic sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. an = r * an-1 is a ____
A

geometric sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. A homogeneous recurrence relation what is it?
A
  1. A homogeneous recurrence relation is one that evaluates to 0 when 0 is plugged into the a(j) side on the right hand side
    a. Homogeneous means same (LS = RS)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. An arithmetic sequence is a sequence with the difference between two consecutive terms _____. The difference is called the common difference. A geometric sequence is a sequence with the ____ between two consecutive terms constant.
A

constant, ratio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The Golden Ratio

A

i. Let a and b be two positive numbers such that a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to find a close form solution?

A

a. Look at the information/variables you’re given and figure it out (i.e. subscripts, sample values or sequences)
b. Look at differences (first, second, third) which gives you linear, quadratic or polynomial if it’s a constant difference
i. Create a set of equations and keep reducing equations until you have 2 that you can subtract
ii. Then check that it works for your values (or do a proof by induction)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly