Computer Science, asked by mirchiash123, 10 months ago

Write Python code to find if ALL the numbers in a given list of integers are PART of the series defined by the following. f(0) = 0 f(1) = 1 f(n) = 2*f(n-1) - 2*f(n-2) for all n > 1. def is_part_of_series(lst):

Answers

Answered by sp6559568
0

Answer:

All other terms are obtained by adding the preceding two terms. This means to say the nth term is the sum of (n-1)th and (n-2)th term

Similar questions