First, throw out the $n = 1$ case and define $a_0 = 1 - \sum\limits_{i=1}^{n} a_i$. Then, we have $\sum\limits_{i=1}^{n} a_i = 1$, and we want to show that \[ \prod\limits_{i=0}^{n} \frac{a_i}{1-a_i} \leq \frac{1}{n^{n+1}} \]and notice that equality holds when $a_0 = a_1 = \cdots = a_n = \frac{1}{n+1}$. Now, we smooth. Say that there is some set of values $(a_0,a_1,\ldots,a_n)$ such that the value of the product is maximal, and assume for the sake of contradiction that there exist some $a_i \neq a_j$. Then, we are done if \[ \frac{a_i}{1-a_i}\frac{a_j}{1-a_j} \leq \left(\frac{a_i+a_j}{2-a_i-a_j}\right)^2 \]as that would imply that there was some larger value of the product by taking the values \[ \left(a_0,a_1,\ldots,a_{i-1},\frac{a_i+a_j}{2},a_{i+1},\ldots,a_{j-1},\frac{a_i+a_j}{2},a_{j+1},\ldots,a_n\right) \]Now, we prove that this set is actually larger. We use the subsitution $a_i + a_j = 2u$ and $a_i - a_j = 2v$. Then, we can rewrite the equation we want to prove as \[ \frac{a_i}{1-a_i}\frac{a_j}{1-a_j} \leq \left(\frac{a_i+a_j}{2-a_i-a_j}\right)^2 \Rightarrow \frac{u^2 - v^2}{(1-u)^2 - v^2} < \frac{u^2}{(1-u)^2} \]after some algebra, which further rearranges into \[ \frac{u^2 - (1-u)^2}{(1-u)^2 - v^2} < \frac{u^2 - (1-u)^2}{(1-u)^2} \]which is true because $2u = a_i + a_j < 1$.