Calculate Big O From Recurrence Relation