∑ZWMath CoursesSyllabusExercises
ES
ZWMath›Discrete mathematics›Recurrences and arithmetic›Recurrence relation›ZW-RECURRENCE-RELATION-001
Course menu
AreaCombinatoricsCourseDiscrete mathematicsTopicRecurrences and arithmetic
Proofs and induction4
  • Direct proof
  • Proof by contradiction
  • Mathematical induction
  • Strong induction
Sets and relations4
  • Set operations
  • Inclusion-exclusion principle
  • Partial order relation
  • Hasse diagram
Counting8
  • Multiplication principle
  • Factorial
  • Permutations with repetition
  • Pigeonhole principle
  • Binomial coefficient
  • Binomial theorem
  • Combinations with repetition
  • Permutations and combinations Probability and statistics
Graph theory10
  • Graph
  • Degree of a vertex
  • Path in a graph
  • Connected graph
  • Tree
  • Eulerian cycle
  • Hamiltonian cycle
  • Bipartite graph
  • Graph coloring
  • Planar graph
Recurrences and arithmetic7
  • Recurrence relation
  • Divisibility
  • Greatest common divisor
  • Euclidean algorithm
  • Modular congruence
  • Homogeneous linear recurrence
  • Prime number

Exercise · ZW-RECURRENCE-RELATION-001 · ★☆☆ Basic

Let \(a_0=2\) and \(a_n=3a_{n-1}-1\) for \(n\ge1\). What is \(a_4\)?

Choose one option.

Show answer
  • B. 122

← Back to the question

Explanation

\(a_1=5,\ a_2=14,\ a_3=41,\ a_4=3\cdot41-1=122\).

Study Discrete mathematics in ZWMath →

Review the concept: Recurrence relation

A recurrence relation is an equation that expresses each term \(a_n\) of a sequence in terms of the previous \(k\) terms; with initial values, it determines the whole sequence.

\[a_n=f(a_{n-1},a_{n-2},\dots,a_{n-k})\]

More practice problems: recurrence relation

  • ZW-RECURRENCE-RELATION-002 Let a_0=a_1=1 and a_n=a_n-1+a_n-2. What is a_6?
  • ZW-RECURRENCE-RELATION-003 Let a_0=1 and a_n=a_n-1+2n. What is a_5?
  • ZW-RECURRENCE-RELATION-004 If a_0=3 and a_n=2a_n-1, which is a formula for a_n?
  • ZW-RECURRENCE-RELATION-005 In the Tower of Hanoi, the minimum number of moves satisfies T_n=2T_n-1+1 with T_0=0. What is T_6?
  • ZW-RECURRENCE-RELATION-006 How many initial values are needed to determine a sequence with a_n=a_n-1+a_n-2?
  • ZW-RECURRENCE-RELATION-007 Let a_n be the number of binary strings of length n with no two consecutive zeros. It satisfies a_n…
  • ZW-RECURRENCE-RELATION-008 The sequence with a_0=1,\ a_1=3 and a_n=2a_n-1-a_n-2 satisfies which formula?
  • ZW-RECURRENCE-RELATION-009 With n lines in general position, the number of regions of the plane satisfies R_n=R_n-1+n and R_0=…

ZW-RECURRENCE-RELATION-002 →

Practice

⏱Exam simulator10 random questions with a grade☰All exercises
◉Open on course✦Open on free study↗Open on the map

ZWMath · Math from definition to practice. Open the interactive map · Syllabus · All exercises

Author: ORCID iD 0009-0009-8641-3511

Privacy · About Speedrunz · Contact