Solution

Find variants of this problem with different number of camels and heirs

With 3 heirs, this means find all (a,b,c,n) with :
1/a + 1/b + 1/c = n/(n + 1)

Detailed Solutions and methods.

We could generally search to solve 1/a + 1/b + ... = p/q (javascript)