Time Complexity For Recursion Formula