# Tromino help

1. Jan 19, 2007

### Bucs44

I'm trying to create a tromino where n=8 and the missing square is four from the left and six from the top.

Here's what I have so far:

Input: n, a power of 8; and the location L of the missing square
Output: A tiling of an n x n deficient board
1. tile(n,L) {
2. if (n==8) {

I'm unsure of how to denote where the missing square is. Can anyone help?

2. Jan 19, 2007

### StatusX

What's a tromino?

3. Jan 19, 2007

### Bucs44

That doesn't bode well for me - but a tromino is an object made up of three squares. It can also be called a polyomino.

4. Jan 19, 2007

### StatusX

Well, that doesn't really narrow it down. But I can guess what you mean is one of the two 2D shapes consisting of 3 squares, where each shares a side with one of the others, ie, they're in a straight line or they make an L.

But then what does n refer to? Or do you mean for there to be n squares, where n isn't necessarily 3? (I'm betting this is actually what "polyomino" refers to)

Last edited: Jan 19, 2007