0
$\begingroup$

I believe the answer is $m = \lceil \sqrt[d]n \rceil$ or $\lfloor \sqrt[d]n \rfloor$.

Can anyone help me?

$\endgroup$
3
  • 1
    $\begingroup$ Have you heard of logarithms? $\endgroup$ – String Jan 22 '15 at 2:37
  • $\begingroup$ ahahah this made me laugh, what apositive community! $\endgroup$ – Bauer Jan 22 '15 at 3:31
  • $\begingroup$ That is the danger of written communication. My comment was merely a question to get the exchange started, but if read as a sarcastic comment regarding your mathematical knowledge it may seem a bit harsh, I agree :) $\endgroup$ – String Jan 22 '15 at 4:30
3
$\begingroup$

Using any logarithm $\log$, we have $$\log n = \log (d^m) = m \log d,$$ so $$m = \frac{\log n}{\log d} = \log_d n.$$

$\endgroup$
1
$\begingroup$

Try using logarithms. A logarithm is defined as follows,
If $a^{b}=c$, then $\log_{a} c=b$
So, similarly, here we get
$m=\log_{d} n$.
We can further simplify it by changing the logarithms' base to $10$,
$m=\frac{\log_{10} n}{\log_{10} d}$
If you want to learn more about logarithms, go here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.