GE-167 Discrete Structures: Recursion & Recurrence Relations

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering fundamental concepts, definitions, and components of recursion and recurrence relations from GE-167 Discrete Structures.

9 Terms

1
New cards

Recursion

A method in which a problem is defined or solved using smaller versions of the same problem, moving toward a stopping point.

2
New cards

Base case

The stopping condition in a recursive process.

3
New cards

Recursive case

The rule that reduces the problem in a recursive process.

4
New cards

Recursive definition

A definition that specifies an initial value and a rule for generating later values.

5
New cards

Recursive function

A function whose definition uses the function itself.

6
New cards

Factorial

Multiplying a positive integer by every positive integer below it, recursively defined with base case 0!=10! = 1 and recursive case n!=n×(n−1)!n! = n \times (n-1)! for n \format \text{with } n \times (n-1)! where n≥1n \ge 1.

7
New cards

Fibonacci sequence

A sequence defined by adding the two previous terms, with base cases F0=0F_0 = 0 and F1=1F_1 = 1, producing the terms 0,1,1,2,3,5,8,13,21,…0, 1, 1, 2, 3, 5, 8, 13, 21, \dots.

8
New cards

Recurrence relation

A relation that expresses a term of a sequence in terms of one or more earlier terms, describing how a quantity changes from one stage to the next.

9
New cards

Initial condition

The starting value or values that a recurrence relation usually needs to determine the sequence.