f(1) = 2 and f(2) = 4, f(n) = f(1) + f(2) + f(n - 1), for n > 2? find f(5)
so if \[\large f(1) = 2 ... and \rightarrow f(2) = 4 \] then \[\large f(n) = f(1) + f(2) + f(n - 1) \] \[\large f(5) = f(1) + f(2) + f(5 - 1) \] \[\large f(5) = \color {blue} {f(1)} + \color {green} {f(2)} + f(4) \] \[\large f(5) = \color {blue} {2} + \color {green} {4} + f(4) \] now what is f(4)? @richard67 ?
n1?
i have no idea, sorry, what subject are u studying at the moment? geometric sequences? i dont even know if you can work it out from here as you're given the numbers for f1 and f2, but then told that there are different rules for when n is greater than 2...?
Algebra
based on the previous 2, and if there wasnt a rule change after n=2, i'd guess that the function f(x) is \[\huge f(x) = 2^x\] as \[\large f(1) = 2^1 = 2\] and \[\large f(2) = 2^2 = 4\] ...but then there's the rule change for x>2
at a guess, we could try continuing...?
\[\large f(4) = 2^4 = 16...?\] therefore \[\large f(5) = f(1) + f(2) + f(4) \] \[\large f(5) = 2 + 4 + 16 \] \[\large f(5) = 22...? (maybe?) \]
it seems to fit the equation, but it may not be the only solution
example: \[\large f(x) = 2 + 2(x-1) \] \[\large f(1) = 2 + 2(1-1) = 2 + 2(0) = 2 \] \[\large f(2) = 2 + 2(2-1) = 2+2(1) = 4\] therefore: \[\large f(4) = 2 + 2(4-1) = 2+2(6) = 14\]
Join our real-time social learning platform and learn together with your friends!