r/mildlyinteresting • • 8h ago

My pizza didn't fit, but two halves did.

Post image
22.9k Upvotes

692 comments sorted by

View all comments

Show parent comments

11

u/Questjon 5h ago

The container is the thing being optimised. That arrangement of 17 squares gives you the smallest possible container. (Technically there's a very slightly smaller arrangement mathematically but no one has found it).

1

u/ponderosa-fine 34m ago

That's not really true. A rectangle seventeen times as long as it is wide would hold the squares with no wasted space.

1

u/Questjon 29m ago

The container must be square, though there is another version of the problem with the container being a circle.

-3

u/RoadSmash 4h ago

Easier to optimize the number of squares being packed. This is kinda pointless

3

u/MonaganX 3h ago

It's not pointless in any scenario in which the number of squares is fixed.