I'm trying to figure out why when I do not have an 'a' value (Compound Frequency) I can no longer use logarithms to solve for 'n' (number of years). Let the formula look like this:

```
FV=PV(1+(i/100)/a)^na

```

So by using the next formula:

```
(log(FV/PV))/(log(1+(i/100)/a))=n

```

It only appears to work when a is equal to 1. When I change it to something like 52, I end up get the incorrect number. Try using these variables:

* FV = 122.12
* PV = 100
* i = 10
* a = 52

I know that n=2, but using the second formula I constantly get 104. Why is this happening?
Apologies for poor formatting, I'm just in a rush.