---
id: 5900f5361000cf542c510049
challengeType: 5
title: 'Problem 458: Permutations of Project'
videoUrl: ''
localeTitle: 'Задача 458: Перестановки проекта'
---

## Description
<section id="description"> Рассмотрим алфавит A, составленный из букв слова «проект»: A = {c, e, j, o, p, r, t}. Пусть T (n) - число строк длины n, состоящее из букв из A, которые не имеют подстроки, которая является одной из 5040 подстановок «проекта». <p> Т (7) = 77-7! = 818503. </p><p> Найти T (1012). Дайте последние 9 цифр вашего ответа. </p></section>

## Instructions
<section id="instructions">
</section>

## Tests
<section id='tests'>

```yml
tests:
  - text: <code>euler458()</code> должен вернуть 423341841.
    testString: 'assert.strictEqual(euler458(), 423341841, "<code>euler458()</code> should return 423341841.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function euler458() {
  // Good luck!
  return true;
}

euler458();

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
