in reply to Re^6: Puzzle: The Ham Cheese Sandwich cut.
in thread Puzzle: The Ham Cheese Sandwich cut.

I think we have to have a practical definition of which group a point on the line is in.

You could go with neither, or both (I'd suggest "both").

It's neither. Otherwise, there's no way to satisfy the condition that either set contain at most half the points if the set contains an odd number of elements.

There's an analogy with the partition phase of quicksort: given a pivot, one divides the set of points into three: those points less than the pivot, those point greater than the pivot, and those equal to the pivot. One recurses into the first two groups.

Perl --((8:>*
  • Comment on Re^7: Puzzle: The Ham Cheese Sandwich cut.

Replies are listed 'Best First'.
Re^8: Puzzle: The Ham Cheese Sandwich cut.
by QM (Parson) on Nov 18, 2005 at 15:03 UTC
    As I explained above, you can adjust the "total" for checking "at most half". Depends on whether you want to count in halves or not.

    Reminds me of that puzzle where siblings inherit a herd of horses.

    A wealthy merchant at his death left his stable of 17 horses to his three sons. He specified that the eldest was to have one half of the horses, the next one-third, and the youngest one-ninth. The three young heirs were in despair, for they obviously could not divide 17 horses this way without calling in the butcher. They finally sought the advice of an old wise friend, who promised to help them.

    She arrived at the stable the next day, leading one of her own horses. This she added to the 17 and directed the sons to make their choices. The eldest took one half of the 18, or nine; the next one-third of the 18, or six; and the youngest, one-ninth of 18, or two. When all 17 of the original horses had been chosen, the old woman took her own horse and departed.

    The catch here is that the willed fractions didn't add up to 1, but to 17/18ths. Going with the "at most half" criteria, it doesn't say that both sides need to add to the total (assumption klaxon blaring). I don't see that it makes any difference whether to include, exclude, or split points on the line.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of