I've been struggling with what is probably some basic mathematics. I've got a summation formula which I use to calculate the 'experience' required to reach a particular 'level'. The formula:
$experience\;=\;\left\lfloor\frac14\times{\textstyle\sum_{x=1}^{L-1}}\left\lfloor x+300\cdot2^\frac x7\right\rfloor\right\rfloor$
I've run into a few situations where I actually need to calculate the 'level' based off of the 'experience' and thus need to effectively invert the formula. Any ideas on how I would go about doing that? Example of the solved formula is below.
$\left\lfloor\frac14\times{\textstyle\sum_{x=1}^{2-1}}\left\lfloor x+300\cdot2^\frac x7\right\rfloor\right\rfloor\;=\;83$
I'd like to be able to provide $\\e=83$ and have it tell me that $\\l=2$