freeCodeCamp/curriculum/challenges/chinese/08-coding-interview-prep/project-euler/problem-446-retractions-b.c...

894 B
Raw Blame History

id challengeType title videoUrl localeTitle
5900f52c1000cf542c51003d 5 Problem 446: Retractions B 问题446撤回B.

Description

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

对于1≤n≤NFN=ΣRn4 + 4。 F1024= 77532377300600。

求F107mod 1 000 000 007

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'assert.strictEqual(euler446(), 907803852, "<code>euler446()</code> should return 907803852.");'

Challenge Seed

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

euler446();

Solution

// solution required