freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-435-polynomials-of-...

987 B
Raw Blame History

id challengeType videoUrl title
5900f5201000cf542c510032 5 问题435斐波那契数的多项式

Description

斐波纳契数{fnn≥0}被递归定义为fn = fn-1 + fn-2基本情况为f0 = 0和f1 = 1。 对于0≤i≤n将多项式{Fnn≥0}定义为Fnx= ∑fixi。 例如F7x= x + x2 + 2x3 + 3x4 + 5x5 + 8x6 + 13x7而F711= 268357683。 令n =1015。求和[∑0≤x≤100 Fnx] mod 1307674368000= 15

Instructions

Tests

tests:
  - text: <code>euler435()</code>252541322550。
    testString: assert.strictEqual(euler435(), 252541322550);

Challenge Seed

function euler435() {
  // Good luck!
  return true;
}

euler435();

Solution

// solution required

/section>