Solution:
The competitor who takes the largest slice is the one who serves himself 100th.
For every k=1,2,…,10000, let us denote by Fk the slice belonging to the k-th competitor, and by Tk the amount of cake remaining after the first k competitors have served themselves. Let us set by convention T0=1. We must determine the value of k for which Fk is maximum. The statement of the problem tells us that
Fk=nk⋅Tk−1andTk=nn−k⋅Tk−1.
From these two equations we derive that
Fk+1=nk+1⋅Tk=nk+1⋅nn−k⋅Tk−1,
and hence
FkFk+1=nk+1⋅nn−k⋅kn=nk(k+1)(n−k)=1−knk(k+1)−n.
This tells us in particular that Fk+1 is greater than Fk if and only if
k(k+1)<n.
Taking into account that n=10000, this happens if and only if k≤99 (it suffices to observe that k(k+1) is an increasing function of the positive integer k and the inequalities 99⋅100<10000and 100⋅101>10000 hold).
It follows that the value of Fk initially increases until it reaches the maximum when k=100, and then decreases from there on until the end of the competitors.