All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Shapes
Counting the Tilings (Posted on 2023-08-29) Difficulty: 4 of 5
A rectangle has dimensions of 3 by 30. How many ways can this rectangle be tiled with 1 by 2 dominoes?
The dominoes can go in either orientation. A rotation or reflection of an asymmetric solution is considered distinct.

Provide a formula for a generalized 3 by 2n rectangle.

A classic version of this puzzle is for a 2 by n rectangle.

See The Solution Submitted by Brian Smith    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution | Comment 1 of 2
Rather than focus on 3 by 2n I thought about 3 by m with one blank square on the right edge if m is odd.

This led pretty quickly to the recursion which is different for even or odd m.

a(0)=1
a(1)=2 (the blank can be top or bottom)
a(2)=3

For even m, a(m)=a(m-1)+a(m-2) [same as the usual 2xm rule]

For odd m, a(m)=2*m(m-1)+a(m-2)

The next few terms are a(3)=8, a(4)=11, a(5)=30

Which was enough terms to find https://oeis.org/A048788

There is no reference to this problem, but the recursion is there.  We just need an offset.  For a 3x30 rectangle, term 31 is given as 299303201


  Posted by Jer on 2023-08-29 11:19:51
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information