MEDAL AND FAN!!! PLEASE HELP!!!
Generate the first 5 terms of this sequence:
f(1) = 2 and f(2) = 3, f(n) = f(n - 1) + f(n - 2), for n > 2.
A) 2, 3, 5, 7, 9
B) 2, 3, 4, 7, 11
C) 2, 3, 5, 9, 11
D) 2, 3, 5, 8, 13
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
Please help me, I am so lost!
OpenStudy (starwars18):
This problem looks like it has mistakes
OpenStudy (starwars18):
are you sure its f(n MINUS 1, 2 and so on?)
OpenStudy (anonymous):
That may be true. This course makes mistakes sometimes, it's really annoying.
OpenStudy (alekos):
no its fine. using the formula
f(3) = f(2) + f(1)
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (alekos):
do the same for f(4) and f(5)
OpenStudy (anonymous):
And yes, I double-checked. This is what it says.
OpenStudy (starwars18):
Alekos is right
OpenStudy (anonymous):
So f(3) = 5?
OpenStudy (starwars18):
Yes
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (alekos):
now do the same for f(4) and f(5)
OpenStudy (anonymous):
And f(4) = 9 ?
OpenStudy (starwars18):
what is f(3) + f(2)?
OpenStudy (starwars18):
you only use the last two f(n)'s
OpenStudy (alekos):
no. f(4) = f(4-1) + f(4-2)
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
Oh, so f(4) = 8 ?
OpenStudy (alekos):
yep
OpenStudy (alekos):
now do f(5)
OpenStudy (anonymous):
So it's D ?
OpenStudy (starwars18):
Yes, do you understand?
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (alekos):
yeah you got it
OpenStudy (anonymous):
Yes, thank you! I can only give one medal, but I'll fan both of you!
OpenStudy (starwars18):
alekos deserves it
OpenStudy (starwars18):
hes the one that figured out that formula
OpenStudy (alekos):
np
Still Need Help?
Join the QuestionCove community and study together with friends!