Back to Freecodecamp

Problem 117: Red, green, and blue tiles

curriculum/challenges/english/blocks/project-euler-problems-101-to-200/5900f3e21000cf542c50fef4.md

latest1.0 KB
Original Source

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

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.

js
assert.strictEqual(redGreenBlueTilesTwo(), 100808458960497);

--seed--

--seed-contents--

js
function redGreenBlueTilesTwo() {

  return true;
}

redGreenBlueTilesTwo();

--solutions--

js
// solution required