Ok, so I was a little bored and decided to think about when to buy more interest at the IB store so as to maximize your amount of ore.
Taking money out of your bank will of course decrease your base of money from which to gain interest from. However, you will receive more interest on what is left. So at what point is it best to spend the money on more interest? It's certainly not optimal to buy more interest as soon as you can. If you up your interest as soon as you get 500 ore, you're now making 5% of nothing, which is nothing. If you hadn't upgraded, you'd be getting 3% of 500 ore which is 15 ore. Also, 5% of say, 999500 ore will give you way more 3% of 1000000 ore.
Well, if we think about it, the idea of buying interest is to increase the amount of money you get from interest. So if buying that interest leads to receiving less interest than you'd be getting without buying the upgrade, what was the point? Similarly, what's the point in delaying buying interest, if buying it now will increase the interest you're currently receiving.
The idea is to find when the interest before the purchase is equal to the interest after the purchase. Then you know how much ore to save up before buying more interest.
Suppose x is the current amount of ore you have, p is the price of the interest upgrade, r1 is the rate of interest before the upgrade, and r2 is the rate of interest after the upgrade. Then:
x * r1 = (x-p) * r2
x * r1 = x * r2 - p * r2
x * (r1 - r2) = - p * r2
x = (- p * r2) / (r1 - r2)
x = (p * r2) / (r2 - r1)
So given any p, r1, and r2, we may calculate x, the optimum amount of ore you should have when buying more interest.
If we use knowledge that interest always increases by 2% then r2 - r1 will always be 0.02. Also, we might want to fix p at 500 (the current price of interest). If you want to account for the widthdrawl fee, increase p a little (about 508). Then the formula above can be simplified a little.
x = (500 * r2) / (0.02)
x = 25000 * r2
So, the optimum point at which to upgrade from 3% to 5% interest is: x = 25000 * 0.05 = 1250 ore. Also, since this function is linear, an all increase in interest are by 2% (that is, r2 increases by 0.02 each time), and 25000 * 0.02 = 500, then for each 2% increase in interest, you should do it at a point 500 ore beyond the last time interest was upgraded.
r2 = 5%, x = 1250
r2 = 7%, x = 1750
r2 = 9%, x = 2250
...
Any thoughts on this? B)