I need to come up with a formula to calculate the coefficient from this formula
$$S = x + xn + xn^2 + \cdots + xn^{y-1} \tag{1}$$
Variables:
- $S$ - total prize pool
- $x$ - amount the last place receives
- $y$ - number of players
- $n$ - coefficient
How do I solve for $n$?
Thank you
The practical way to do it, assuming $ S > xy$. You take the following function $$ f(n) = \left(1+\frac Sx n-\frac Sx \right)^{1/y} $$
and then apply it to itself, until result no longer changes, starting with $n_0=1+1/y$: $n_1=f(n_0)$, $n_2=f(n_1)$ and so on.
For example, for $y=9$, $S/x=15$, we have the following $$n=1.111, 1.115, 1.118, 1.120, 1.121, 1.122, 1.122\dots$$