Question 2 Consider the following recursively defined function F: N → N: F(n) = = if n = 0 if n>0 CF(i) In other words, F(n) for n ≥ 1 is defined as the sum of all previous values of F. (a.) Show the values of F(0), F(1), F(2), F(3), F(4), F(5) and how to compute them using the definition above. (b.) For which of the F(0),..., F(5) do we have that F(n) = 2n-¹? (c.) Prove by induction over n that F(n) 2n-1 for n ≥ 1.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter3: Functions And Graphs
Section: Chapter Questions
Problem 45RE
icon
Related questions
Question
Question 2
Consider the following recursively defined function F: N→ N:
F (n) = { 1 - ₁ - 1 F (i)
if n = 0
ΣF(i) if n>0
In other words, F(n) for n ≥ 1 is defined as the sum of all previous values of F.
(a.) Show the values of F(0), F(1), F(2), F(3), F(4), F(5) and how to compute them using the definition above.
(b.) For which of the F(0),..., F(5) do we have that F(n) = 2″−¹?
(c.) Prove by induction over n that F(n) = 2″−¹ for n ≥ 1.
Transcribed Image Text:Question 2 Consider the following recursively defined function F: N→ N: F (n) = { 1 - ₁ - 1 F (i) if n = 0 ΣF(i) if n>0 In other words, F(n) for n ≥ 1 is defined as the sum of all previous values of F. (a.) Show the values of F(0), F(1), F(2), F(3), F(4), F(5) and how to compute them using the definition above. (b.) For which of the F(0),..., F(5) do we have that F(n) = 2″−¹? (c.) Prove by induction over n that F(n) = 2″−¹ for n ≥ 1.
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt