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. (1 point)

a) 2, 3, 5, 7, 9

b) 2, 3, 4, 7, 11

c) 2, 3, 5, 9, 11

d) 2, 3, 5, 8, 13

1 answer

your formula is interpreted this way

f(3) = f(2) + f(1)
f(4) = f(3) + f(2)
f(5) = f(4) + f(3)
etc

so f(3) = 3 + 2 = 5
f(4) = .......

notice we already eliminated b)

continue ....

btw, this is a famous sequence called the Fibonacci sequence, one of my favourite topics in Math.