freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-445-retractions-a.md

1008 B
Raw Blame History

id challengeType videoUrl localeTitle
5900f52a1000cf542c51003c 5 问题445撤回A.

Description

对于每个整数n> 1函数族fnab由fnabx≡ax+ b mod n定义为abx整数和0

对于c = C100 000k1≤k≤99999≡628701600mod 1 000 000 007给出ΣRcCnk是二项式系数

找到ΣRc得c = C10 000 000k1≤k≤9999 999.给出你的答案模1 000 000 007。

Instructions

Tests

tests:
  - text: <code>euler445()</code>应该返回659104042。
    testString: assert.strictEqual(euler445(), 659104042);

Challenge Seed

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

euler445();

Solution

// solution required

/section>