115 views

​​​​​​Solve the following recursions ( in terms of Θ ).

T(0) = T(1) = Θ(1) in all of the following.

1. $T(n) = n + \frac{1}{n}\sum_{i=0}^{i=n-1}T(i)$
2. $T(n) = n + \frac{2}{n}\sum_{i=0}^{i=n-1}T(i)$
3. $T(n) = n + \frac{4}{n}\sum_{i=0}^{i=n/2}T(i)$
4. $T(n) = n + \frac{40}{n}\sum_{i=0}^{i=n/5}T(i)$
| 115 views

by (227 points)

+1 vote