1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Tromino help

  1. Jan 19, 2007 #1
    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. jcsd
  3. Jan 19, 2007 #2


    User Avatar
    Homework Helper

    What's a tromino?
  4. Jan 19, 2007 #3
    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.
  5. Jan 19, 2007 #4


    User Avatar
    Homework Helper

    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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook