|
||||||
Title: tiling a nXn checker board with 2x1 dominoes Post by gt on Aug 28th, 2009, 6:59am hey guys... " in how many ways , can we tile a n X n checker board , with 2X1 dominoes... " consider cases of n being odd, n being even and also more general case of an nXm checker board...... i dont know , if this has already been discussed... this question occurred to me while reading about tiling 2Xn checkerboard with dominoes |
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by towr on Aug 28th, 2009, 7:33am The answer for odd n is very easy. (Or, in the case of a rectangle, when both n and m are odd.) |
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by gt on Aug 31st, 2009, 3:54pm @above could u elaborate a bit more as to why it is easy ??? |
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by towr on Aug 31st, 2009, 11:51pm on 08/31/09 at 15:54:34, gt wrote:
|
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by R on Sep 23rd, 2009, 9:24pm Slightly changing the semantics of the problem, as explaining will be easier for this new semantic. Filling nxn check board with 2x1 dominoes is equivalent to walking in a matrix of nxn to reach the right-bottom corner with jump size = 2. Now can we write a recurrence relation as follows: Code:
|
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by towr on Sep 24th, 2009, 12:33am on 09/23/09 at 21:24:36, R wrote:
And don't ways(n-2, n) and ways(n, n-2) have the same value? |
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by R on Sep 24th, 2009, 1:06am on 09/24/09 at 00:33:44, towr wrote:
Starting from (1,1). Ways was the number of ways in which one can reach from (1,1) to (n,n). It will cover the whole matrix, Right? Quote:
In a square matrix, Yes!!! I meant to write for general case. Code:
|
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by towr on Sep 24th, 2009, 1:36am on 09/24/09 at 01:06:03, R wrote:
Also, for n=4, your recursion gives me 10, whereas the real number should be at least 25 (52) In general n=2k should be greater or equal to fib(2k-1)k (which is what you get if you independently tile the k 2x2k pieces) |
||||||
Title: Re: tiling a nXn checker board with 2x1 dominoes Post by R on Sep 24th, 2009, 2:19am on 09/24/09 at 01:36:46, towr wrote:
Oh I see the heck. :) |
||||||
Powered by YaBB 1 Gold - SP 1.4! Forum software copyright © 2000-2004 Yet another Bulletin Board |