[Haskell-cafe] Health effects
aneumann at inf.fu-berlin.de
Tue Sep 30 13:54:17 EDT 2008
I often wonder how many cuts you need to divide a steak in n pieces.
You can obviously get n pieces with (sqrt n) cuts by cutting a grid.
But I'm sure some smart mathematician thought of a (log n) way.
Am 29.09.2008 um 21:43 schrieb Andrew Coppin:
> The other day, I sat down to eat a 2 Kg block of chocolate - one of
> those ones that's divided into lots of little squares. I proceeded
> to recursively subdivide it into smaller and smaller blocks, and
> then eat the individual squares in depth-first order. It was only
> after getting through 16 of the things that I stopped to notice
> that the whole bar just happens to have an exact power of two
> squares on it.
> And it was some time after *that* when I thought to myself
> "...woah, maybe do too much Haskell?" o_O
> Seriously, who recursively subdivides their food? I think I have
> something wrong with me...
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: Signierter Teil der Nachricht
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080930/d0af4169/PGP.bin
More information about the Haskell-Cafe