Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-164-numbers-for-which-no-three-consecutive-digits-have-a-sum-greater-than-a-given-value.english.md
Oliver Eyton-Williams bd68b70f3d Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00

58 lines
866 B
Markdown

---
id: 5900f4111000cf542c50ff23
challengeType: 5
title: 'Problem 164: Numbers for which no three consecutive digits have a sum greater than a given value'
forumTopicId: 301798
---
## Description
<section id='description'>
How many 20 digit numbers n (without any leading zero) exist such that no three consecutive digits of n have a sum greater than 9?
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler164()</code> should return 378158756814587.
testString: assert.strictEqual(euler164(), 378158756814587);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler164() {
// Good luck!
return true;
}
euler164();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>