100 likes | 251 Views
Recurrence. Relations. Roxanne Scott Iveta Ovsepyan Deborah Ellis. A Definition . A recurrence relation is a way of defining a sequence of numbers by defining the first term(s) and then prescribing an algorithm that shows us how to compute a n in terms of a i for i < n. Fibonacci
E N D
Recurrence Relations
A Definition A recurrence relation is a way of defining a sequence of numbers by defining the first term(s) and then prescribing an algorithm that shows us how to compute an in terms of ai for i < n. Fibonacci Let f1 = 1, f2 = 1, and for all n > 2 Let fn = f n-2 + fn-1
Let L1 = 1, L2 = 3 And for all n > 2 Let Ln = L n-2 + L n-1 Let P0 = 0, P1=1 and let Pn = 2Pn-1 + Pn-2 Lucas Pell
= # { U \in {1,2,3,….,n} : |U| = k Consider: n k “ n choose k ” 3 2 =
RecurrenceRelations Recurrence Relations cu r r ence Re Relations