Hacker News new | ask | show | jobs
by nemetroid 4345 days ago
Having the same number of both colours is not sufficient. 14 Z pieces will give you 28 of each color, but you can't make a rectangular lamp (of any size) from only Z pieces.
3 comments

That's true, but here's a construction:

    OOZZ
    OOSZZ
    LLSS
    ILTS
    ILTT
    IJT 
    IJJJ
That's built out of one full set of OZSLJTI. If you take two of those, one rotated by 180˚, you get a rectangle.
Not in 2D, but you can in 3D!

edit: Actually I'm not sure my previous statement was true. You can make it more pleasing such as this though: http://nterm.co.uk/content/images/tetris.png

<nitpick>rectangle specifies 2d</nitpick> I believe you could form a hollow cuboid, but I don't think you could complete a solid cuboid.
So the obvious next question is: how many sets do you need to create a perfect rectangle?
Two! (see my same-level comment)
So the next questions are:

- how many 8x7 solutions exist?

- does any 4x14 solution exist?

- does any 2x4x7 solution exist?

:)

Let's stick to accept-reject questions for now :)
Awesome, thanks :)