freeCodeCamp/curriculum/challenges/espanol/10-coding-interview-prep/project-euler/problem-117-red-green-and-b...

1.1 KiB

id title challengeType forumTopicId dashedName
5900f3e21000cf542c50fef4 Problem 117: Red, green, and blue tiles 5 301743 problem-117-red-green-and-blue-tiles

--description--

Using a combination of black square tiles and oblong tiles chosen from: red tiles measuring two units, green tiles measuring three units, and blue tiles measuring four units, it is possible to tile a row measuring five units in length in exactly fifteen different ways.

Possible ways of placing red, green and blue oblongs on a row with length of five units

How many ways can a row measuring fifty units in length be tiled?

Note: This is related to Problem 116.

--hints--

redGreenBlueTilesTwo() should return 100808458960497.

assert.strictEqual(redGreenBlueTilesTwo(), 100808458960497);

--seed--

--seed-contents--

function redGreenBlueTilesTwo() {

  return true;
}

redGreenBlueTilesTwo();

--solutions--

// solution required