If we have an annual interest rate of $r$, meaning that each year we multiply our capital by $1+r$, but we want to compound it $n$ times throughout the year, then the usual formula for the amount of money at the end of the year is:
$$\left(1+\frac r n\right)^n$$
Which corresponds to compounding an interest rate of $r/n$ every $n$-th of a year. To me a more logical procedure would be to multiply the capital each $n$-th of a year by $\sqrt[n]{1+r}$, that way you're just interpolating the original annual interest rate.
To me the usual formula seems like exactly the kind of mistake someone who's not very good at mathematics might make - say a mediocre high school student. "Oh, we're applying an interest rate of $r$ a total of $n$ times throughout the year, so we should divide $r$ by $n$ to even things out". Err, no, that would make sense if we were adding, but we're multiplying.
My hypothesis is that this might really be how the formula for compound interest came about - invented by a medieval banker who didn't entirely understand mathematics beyond what he needed to count money. If this is true, then you might say banks are damn lucky that $\lim_{n\to\infty}(1+\frac 1 n)^n$ turned out to be finite! Someone suggested to me that it might have just been that $n$-th roots were too hard to calculate, but surely it wouldn't have been too bad with a log table.
Anyway, my idle speculation aside (and arrogant criticism of a field I know little about), is it known how old this formula is (even if used implicitly)? Was it invented independantly several times? Do we have any indication what the logic behind it was?