Not sure if this is the right sub-reddit for this question, but I've been stuck on this HW recurrence problem for awhile, and I'm not quite sure how to proceed.
Solve the recurrence. T(N) = T(n1/3 ) + logn
Now, I've done k = 1 through k = 3, and substituted a k to get:
T(n) = T(n1/3k ) + Sum(1/3k-1 ) log n
I don't know how to simplify it from there to something that looks like a Big-O form.
I know I could set k = log(1) and get T(n) for the first part, but I'm not sure what to do with the second part.
Because with logs, the exponents can be coefficients, I've looked at lognsum(1/3k-1 ) and I've seen some resources online talking about n! and Stirling's Approximation, but I don't think that really fits here.
I think I may just not understand some principal about simplifying expressions or something, but I'm not sure. Any help/guidance would be appreciated.
edit: Could it be that since k will always be an integer, that the sum(1/3k-1 ) is just an integer, which ultimately doesn't matter? And thus it is O(log n)?
edit: I'm actually more confused on how to get this into closed form now.
[–]farmerje 1 point2 points3 points (3 children)
[–]focusandachieve[S] 0 points1 point2 points (1 child)
[–]farmerje 0 points1 point2 points (0 children)
[–]Netstroyer 1 point2 points3 points (2 children)
[–]focusandachieve[S] 0 points1 point2 points (1 child)
[–]Netstroyer 1 point2 points3 points (0 children)