Ask your own question, for FREE!
Mathematics 8 Online
undeadknight26 (undeadknight26):

Help please!

undeadknight26 (undeadknight26):

Find f(5) for this sequence: f(1) = 2 and f(2) = 4, f(n) = f(1) + f(2) + f(n - 1), for n > 2. f(5) = ______

undeadknight26 (undeadknight26):

Hey @Chineseboy15 long time no see :D

OpenStudy (anonymous):

Hello, undeadknight26. Unfortunately, I have to go to sleep now.

undeadknight26 (undeadknight26):

No!!!

OpenStudy (anonymous):

Let me try to use less time to solve this question.

undeadknight26 (undeadknight26):

Oh snap...ur boss

OpenStudy (anonymous):

Ah, this question perhaps is not as difficult as I thought. All right, f(n) = f(1) + f(2) + f(n - 1), can you tell me what are f(1) and f(2)?

undeadknight26 (undeadknight26):

2 and 4.

undeadknight26 (undeadknight26):

so F(n) = 2 + 4 + f(n - 1)?

OpenStudy (anonymous):

Yes! You just say what I want to say! That is great! Now notice n. What do you know about n?

undeadknight26 (undeadknight26):

it is greater than 2?

OpenStudy (anonymous):

Yes, and 5>n. Now I think you have already known what to do next.

undeadknight26 (undeadknight26):

Sadly i dont :(

undeadknight26 (undeadknight26):

So 4 -1?

OpenStudy (anonymous):

It is okay. Now you should replace n with 5.

undeadknight26 (undeadknight26):

So f(5) = 2 + 4 + f(5 - 1)?

undeadknight26 (undeadknight26):

2 + 4 + 4 = 10?

OpenStudy (anonymous):

That is right!

OpenStudy (anonymous):

You got it!

undeadknight26 (undeadknight26):

Wow i can't thank you enough!!!

OpenStudy (anonymous):

You are welcome! Now I can go to sleep. Thank you for provide me another chance to help other people. See you!

undeadknight26 (undeadknight26):

cya!

undeadknight26 (undeadknight26):

@hartnn can u help me with one more question?

undeadknight26 (undeadknight26):

I do not know how to "generate terms"

undeadknight26 (undeadknight26):

Generate the first 5 terms of this sequence: f(1) = 0 and f(2) = 1, f(n) = f(n - 1) + f(n - 2), for n > 2. 0, -1, 1, 0, 2 0, 1, 1, 2, 3 0, 1, 2, 2, 3 0, 1, 1, 2, 2

undeadknight26 (undeadknight26):

or should i start a new question so i can medal you?

hartnn (hartnn):

f(5) is incorrect its not 10

hartnn (hartnn):

can you find f(3) first ? put n=3

undeadknight26 (undeadknight26):

f(3) = 2 + 4 + f(3 - 1)

undeadknight26 (undeadknight26):

8?

hartnn (hartnn):

no , f(3-1) = f(2) = ... ?

undeadknight26 (undeadknight26):

f(2) = 4 = ???

undeadknight26 (undeadknight26):

I do not understand.

hartnn (hartnn):

yes, so f(3) = 2 + 4 + f(3 - 1) = 2+4+4 = 10 you got this ?

undeadknight26 (undeadknight26):

yea.

undeadknight26 (undeadknight26):

What do i do now?

hartnn (hartnn):

similarly find f(4), by putting n=4

undeadknight26 (undeadknight26):

f(4) = 2+4+3 = 7?

hartnn (hartnn):

why 3 ? its f(4-1) = f(3) there , right ? not just 3

hartnn (hartnn):

f(4) = 2+4+f(3) = 2+4 +10 =...

undeadknight26 (undeadknight26):

oh i skipped lol oops.. f(4) = 2 + 4+ f(4 - 1) = 2 + 4 + 3 = 7?

undeadknight26 (undeadknight26):

no 9 srry

hartnn (hartnn):

man, why'd you put f(3) = 3 even though you know f(3) =10 ...

undeadknight26 (undeadknight26):

but rn't we subtracting 1 from the 4?

undeadknight26 (undeadknight26):

f(4) = 2+4+f(3) = 2+4 +10 = 16?

undeadknight26 (undeadknight26):

like so?

hartnn (hartnn):

yes, now find f(5), put n=5 and don't put f(4) = 4, f(4) = 16

hartnn (hartnn):

**put f(4) =16

undeadknight26 (undeadknight26):

f(5) = 2 + 4 + f(4) = 22?

hartnn (hartnn):

yes! thats your f(5) = 22 correct.

undeadknight26 (undeadknight26):

wow thank you!!!

undeadknight26 (undeadknight26):

I have one more question i'll open a new thread though so u can get a medal if u help me :>

hartnn (hartnn):

Generate the first 5 terms of this sequence: f(1) = 0 and f(2) = 1, f(n) = f(n - 1) + f(n - 2), for n > 2. 0, -1, 1, 0, 2 0, 1, 1, 2, 3 0, 1, 2, 2, 3 0, 1, 1, 2, 2 put n = 3

hartnn (hartnn):

i do not care for medals.

hartnn (hartnn):

my medal is that you understand :)

undeadknight26 (undeadknight26):

Thats cool man...

hartnn (hartnn):

so in f(n) = f(n - 1) + f(n - 2) put n=3 to find f(3)

undeadknight26 (undeadknight26):

F(3) = f(3-1) + F(3-2)?

undeadknight26 (undeadknight26):

f(3) = f3?

hartnn (hartnn):

F(3) = f(3-1) + F(3-2) = f(2) + f(1) and you already know f(2) and f(1) plug in values

undeadknight26 (undeadknight26):

So in this case its either b or c?

undeadknight26 (undeadknight26):

so its B?

undeadknight26 (undeadknight26):

What do u mean by plug in values? which values?

hartnn (hartnn):

F(3) = f(3-1) + F(3-2) = f(2) + f(1) = 1 +0 =1 f(2) and f(1 are given in the question)

undeadknight26 (undeadknight26):

F(1) = 0 and F(2) = 1 right?

hartnn (hartnn):

thats given in Q, and thats what i plugged in

hartnn (hartnn):

so f(3) =1 what about f(4) ? put n=4 and use f(3) =1

undeadknight26 (undeadknight26):

So F(4) = 2?

undeadknight26 (undeadknight26):

since f(4) = F(3) + f(3)?

undeadknight26 (undeadknight26):

im not very good at this sorry...

hartnn (hartnn):

f(4) = f(2) +f(3) right ?

undeadknight26 (undeadknight26):

Yes which also equals 2 right?

undeadknight26 (undeadknight26):

so now f(4) + f(3) = f(5)?

hartnn (hartnn):

yes

hartnn (hartnn):

so, f(5) = 1+2=..

undeadknight26 (undeadknight26):

3!

undeadknight26 (undeadknight26):

so far we have 0 ,1,1,3?

hartnn (hartnn):

we had f(4) = 2 also! so terms are 0,1,1,2,3 :)

undeadknight26 (undeadknight26):

So B was correct this whole time...

hartnn (hartnn):

yes

undeadknight26 (undeadknight26):

as i said 7 minutes ago lol..thanks for helping me understand why though :D

hartnn (hartnn):

welcome ^_^

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!