Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-225-tribonacci-non-divisors.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

770 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f44e1000cf542c50ff60 Problem 225: Tribonacci non-divisors 5 301868 problem-225-tribonacci-non-divisors

--description--

The sequence 1, 1, 1, 3, 5, 9, 17, 31, 57, 105, 193, 355, 653, 1201 ...

is defined by T1 = T2 = T3 = 1 and Tn = Tn-1 + Tn-2 + Tn-3.

It can be shown that 27 does not divide any terms of this sequence.In fact, 27 is the first odd number with this property.

Find the 124th odd number that does not divide any terms of the above sequence.

--hints--

euler225() should return 2009.

assert.strictEqual(euler225(), 2009);

--seed--

--seed-contents--

function euler225() {

  return true;
}

euler225();

--solutions--

// solution required