I'm working through some recurrence relation examples and am struggling with this question that assumes inputs of $n$ are powers of $7$.
Essentially we have
$T(n) = T({\lfloor}n/7{\rfloor}) + \log_{3}(n)$
$T(1) = 0$
Using the bottom up method I have found the following
$T(7) = T(1) + \log_{3}(7) = \log_{3}(7)$
$T(49) = T(7) + \log_{3}(49) = \log_{3}(7) + \log_{3}(49)$
$T(343) = T(49) + \log_{3}(343) = \log_{3}(7) + \log_{3}(49) + log_{3}(343)$
I'm struggling to turn this into an equation though. I can see that essentially we have
$T(n) = \log_{3}(7^1) + \log_{3}(7^2) + ... + \log_{3}(7^k)$ where $7^k = n$.
How would I transform that logic into an equation?