Time Complexity
posted by Anonymous
posted 346d 8h ago
Number of operations is defined as:
Then it follows that
Note that
Calculating a few more terms gives us the big picture:
Let
be the n-th term in the sequence of Pell numbers
. Then, for
,
Now let
thus
. Calculating
gives us
Using the definition of our recursive function F, we get
Ignoring the numbers, we can conclude the sequence has exponential growth rate.
Then it follows that
Note that
Calculating a few more terms gives us the big picture:
Let
be the n-th term in the sequence of Pell numbers
. Then, for
,
Now let
thus
. Calculating
gives us
Using the definition of our recursive function F, we get
Ignoring the numbers, we can conclude the sequence has exponential growth rate.


























