---
id: 5900f4111000cf542c50ff23
challengeType: 5
title: 'Problem 164: Numbers for which no three consecutive digits have a sum greater than a given value'
videoUrl: ''
localeTitle: 'Problema 164: Números para os quais não há três dígitos consecutivos com uma soma maior que um determinado valor'
---
## Description
Quantos números de 20 dígitos n (sem nenhum zero inicial) existem, de modo que não há três dígitos consecutivos de n que tenham uma soma maior que 9?
## Instructions
## Tests
```yml
tests:
- text: euler164() deve retornar 378158756814587.
testString: 'assert.strictEqual(euler164(), 378158756814587, "euler164() should return 378158756814587.");'
```
## Challenge Seed
```js
function euler164() {
// Good luck!
return true;
}
euler164();
```