Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00

843 B
Raw Blame History

id, title, challengeType, forumTopicId
id title challengeType forumTopicId
5900f4431000cf542c50ff56 Problem 215: Crack-free Walls 5 301857

--description--

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).

--hints--

euler215() should return 806844323190414.

assert.strictEqual(euler215(), 806844323190414);

--seed--

--seed-contents--

function euler215() {

  return true;
}

euler215();

--solutions--

// solution required