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) = ______ @sleepyjess
Ok, from what I found, just ignore the n > 2
f(n) = f(1) + f(2) + f(n - 1) n = 5? since we are finding f(5) f(5) = f(1) + f(2) + f(5-1) f(5) = f(3) + f(4) = 7????
If we know that f(1) = 2, and f(2) = 4, can you substitute in those numbers to find f(3)?
unless f(1) and f(2) is 2 and 4
This is a recursive formula, we need to do f(3), then f(4), and finally f(5).
f(3) = 2 + 4 + f(2), we know that f(2) = 4, so f(3) = 2 + 4 + 4
oh i see
so f(3) = 10 now for f(4) f(4) = 2 + 4 + f(4 - 1) f(4) = 6 + f(3) f(4) = 6 + 4 + 10 f(4) = 20?
Yep, then for f(5)?
OOPS not 6
Wait nvm so f(5) = 30?
just 6 + 10 for f(4)
ok so I did to a typo, haha f(4) = 16
that would make f(5) = 22
Yep, f(4) = 16
Yes! :D
hehe, yay
thanks!
Also, \({\huge\color{black}{\bigstar}\color{black}{\hspace{2pt}\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}~\color{black}{\hspace{4pt}\bigstar}\color{black}{\bigstar}~\color{black}{\hspace{6pt}\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\hspace{1.5pt}\bigstar}\color{black}{\hspace{1.5pt}\bigstar}}{\hspace-321pt\huge\color{red}{\bigstar}\color{orange}{\hspace{2pt}\bigstar}\color{goldenrod}{\bigstar}\color{yellow}{\bigstar}\color{lightgreen}{\bigstar}\color{green}{\bigstar}\color{turquoise}{\bigstar}~\color{royalblue}{\hspace{4pt}\bigstar}\color{purple}{\bigstar}~\color{#00bfff}{\hspace{6pt}\bigstar}\color{#00bfff}{\bigstar}\color{#00bfff}{\bigstar}\color{#11c520}{\bigstar}\color{#11c520}{\hspace{1.5pt}\bigstar}\color{#11c520}{\hspace{1.5pt}\bigstar}}\\\huge\bf\color{black}W\color{black}E\color{black}{\hspace5ptL}\color{black}{\;C}\color{black}{\;O}\color{black}M\color{black}{\,E~\;}\color{black}{\hspace{4.2pt}T}\color{black}{\:O}~~\color{black}{\hspace{4pt}Open}\color{black}{Study}\hspace-321.8pt{\huge\bf\color{red}W\color{orange}E\color{goldenrod}{\hspace5ptL}\color{yellow}{\;C}\color{lightgreen}{\;O}\color{darkgreen}M\color{turquoise}{\,E~\;}\color{royalblue}{\hspace{4.2pt}T}\color{purple}{\:O}~~\color{#00bfff}{\hspace{4pt}Open}\color{#11c520}{Study}}\\\huge\color{black}{\bigstar}\color{black}{\hspace{2pt}\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}~\color{black}{\hspace{5pt}\bigstar}\color{black}{\bigstar}~\color{black}{\hspace{6pt}\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\bigstar}\color{black}{\hspace1.5pt\bigstar}\color{black}{\hspace{1.5pt}\bigstar\hspace-321.8pt{\huge\color{red}{\bigstar}\color{orange}{\hspace{2pt}\bigstar}\color{goldenrod}{\bigstar}\color{yellow}{\bigstar}\color{lightgreen}{\bigstar}\color{green}{\bigstar}\color{turquoise}{\bigstar}~\color{royalblue}{\hspace{5pt}\bigstar}\color{purple}{\bigstar}~\color{#00bfff}{\hspace{6pt}\bigstar}\color{#00bfff}{\bigstar}\color{#00bfff}{\bigstar}\color{#11c520}{\bigstar}\color{#11c520}{\hspace1.5pt\bigstar}\color{#11c520}{\hspace{1.5pt}\bigstar}}}\\\small\cal Made~by~@sleepyjess\)
No problem! :D
i been on OS as long as my sister. i'd always get all the IP blocked for making accounts and all throughout the time :D
oh lol
haha, yeah i don't do that anymore cause i actually need help now
What math are you taking? Algebra 2?
Yeah, spammer >=( Ahaha
no algebra 1
oh lol
haha i dont wanna spam anymore
i retired
I see o-o
Don't worry Kay ;) I hate functons too
algebra 1, feel free to tag me :)
ok :D
thanks!
woohoo lesson 3.04 doesn't need to be done just told me that
Aaha, congrats =)
haha :)
you doing FLVS?
yeah it was a lesson review i didn't understand too much
I've got you there :) Just wait until you get to pre-calc, they explain even less
ouch hate it when lessons do that and the civics course i took last year didn't explain nothing :(
Join our real-time social learning platform and learn together with your friends!