The algorithm is a little complicated, but it can be laid out in plain language. Say Alice, Bob, and Charlie are cutting a cake. Charlie cuts the cake into three pieces that he considers equally valuable. Alice and Bob each point to their first-choice piece. If those pieces are different, it ends there—they both get their first choice, and Charlie gets a piece he considers equal to the other two.

But if Alice and Bob choose the same piece, there's some work to do. Bob identifies his second choice, then trims his first-choice piece to match his second choice, placing the trimmed part aside for later. Then Alice gets to choose the piece she wants, followed by Bob, then Charlie. (If Alice doesn't go for the trimmed piece, Bob has to take it). That makes things fair, because Alice got to choose first, Bob considered his second choice equally valuable, and Charlie thought all of the slices were equally valuable in the first place.

What about the leftover trimmed part? Bob gets to cut that piece into three slices he considers equally valuable. Then Alice chooses her preferred piece first, followed by Charlie, then Bob. That also makes things fair, because Alice got to choose first and Bob thought all of the pieces were equal in the first place. But what about Charlie? Well, back at the beginning, Charlie thought all of the slices were equally valuable, and he got one of those equal pieces. Adding on the trim is just a cherry on top of an already good situation for Charlie, so he doesn't really care which part of the trim he gets. The authors of the algorithm would say that Charlie "dominates" whoever got the trimmed slice. That's important, because if Charlie did care, the algorithm could end in more trimming of the trimmed slice in an endless loop.

Still, even a simplified version of this algorithm might not be practical for things like land and wealth, since it requires tiny bits from other parts of the thing being divided. But it's a stepping stone. It proves to computer scientists that a better algorithm may be out there—they just have to keep looking.

*Is there something you're curious about? Send us a note or email us at editors (at) curiosity.com. And follow Curiosity on Facebook, Instagram and Twitter.*