I'm actually working on an amortization problem.

I am trying to solve for n. I have all of the other values.

In order to do this I end up using logs (i think...)

A/P/r = (1+r) ^n /((1+r)^n - 1)

Does that turn into something like...

log[A/P/r] = log[(1+r)^n] - log[(1+r)^n - 1]

And where do I go from there?!?

THANKS!!