1.3 KiB
1.3 KiB
id | challengeType | title |
---|---|---|
5900f3e01000cf542c50fef2 | 5 | Problem 114: Counting block combinations I |
Description
How many ways can a row measuring fifty units in length be filled? NOTE: Although the example above does not lend itself to the possibility, in general it is permitted to mix block sizes. For example, on a row measuring eight units in length you could use red (3), black (1), and red (4).
Instructions
Tests
tests:
- text: <code>euler114()</code> should return 16475640049.
testString: assert.strictEqual(euler114(), 16475640049, '<code>euler114()</code> should return 16475640049.');
Challenge Seed
function euler114() {
// Good luck!
return true;
}
euler114();
Solution
// solution required