This website is a semi-functional mirror of the original Project Euler. More information is available on GitHub.
Crack-free Walls
Problem 215
Published on 31 October 2008 at 01:00 pm [Server Time]
Consider the problem of building a wall out of 2×1 and 3×1 bricks (horizontal×vertical dimensions) such that, for extra strength, the gaps between horizontally-adjacent bricks never line up in consecutive layers, i.e. never form a "running crack".
For example, the following 9×3 wall is not acceptable due to the running crack shown in red:
There are eight ways of forming a crack-free 9×3 wall, written W(9,3) = 8.
Calculate W(32,10).
Go to back to Problems