Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00

714 B

id, title, challengeType, forumTopicId
id title challengeType forumTopicId
5900f5361000cf542c510049 Problem 458: Permutations of Project 5 302132

--description--

Consider the alphabet A made out of the letters of the word "project": A={c,e,j,o,p,r,t}.

Let T(n) be the number of strings of length n consisting of letters from A that do not have a substring that is one of the 5040 permutations of "project".

T(7)=77-7!=818503.

Find T(1012). Give the last 9 digits of your answer.

--hints--

euler458() should return 423341841.

assert.strictEqual(euler458(), 423341841);

--seed--

--seed-contents--

function euler458() {

  return true;
}

euler458();

--solutions--

// solution required