freeCodeCamp/curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-442-eleven-free-int...

45 lines
878 B
Markdown
Raw Normal View History

---
id: 5900f5271000cf542c510039
title: 'Problema 442: Interi senza-undici'
challengeType: 1
forumTopicId: 302114
dashedName: problem-442-eleven-free-integers
---
# --description--
Un numero intero è chiamato senza-undici se la sua espansione decimale non contiene alcuna sottostringa che rappresenti una potenza di 11 eccetto 1.
Ad esempio, 2404 e 13431 sono senza-undici, mentre 911 e 4121331 no.
Sia $E(n)$ l'$n$-esimo numero intero positivo senza-undici. Per esempio, $E(3) = 3$, $E(200) = 213$ e $E(500\\,000) = 531\\,563$.
Trova $E({10}^{18})$.
# --hints--
`elevenFreeIntegers()` dovrebbe restituire `1295552661530920200`.
```js
assert.strictEqual(elevenFreeIntegers(), 1295552661530920200);
```
# --seed--
## --seed-contents--
```js
function elevenFreeIntegers() {
return true;
}
elevenFreeIntegers();
```
# --solutions--
```js
// solution required
```