Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
1.3 KiB
1.3 KiB
id, challengeType, isHidden, title, forumTopicId
id | challengeType | isHidden | title | forumTopicId |
---|---|---|---|---|
5900f3e01000cf542c50fef2 | 5 | false | Problem 114: Counting block combinations I | 301740 |
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);
Challenge Seed
function euler114() {
// Good luck!
return true;
}
euler114();
Solution
// solution required