Okay, here goes my attempt to explain it.
For small numbers of pirates, there is a unique optimal plan for the pirate king to propose (optimal in the sense that it maximises the gold he gets and ensures his survival). I present the first few here for you to get the idea:
(100,0), (99,0,1)...