Valeriy 79d9012432 fix(curriculum): quotes in tests (#18828)
* fix(curriculum): tests quotes

* fix(curriculum): fill seed-teardown

* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30

1.0 KiB

id, challengeType, title
id challengeType title
5900f52c1000cf542c51003d 5 Problem 446: Retractions B

Description

For every integer n>1, the family of functions fn,a,b is defined by fn,a,b(x)≡ax+b mod n for a,b,x integer and 0F(N)=∑R(n4+4) for 1≤n≤N. F(1024)=77532377300600.

Find F(107) (mod 1 000 000 007)

Instructions

Tests

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

Challenge Seed

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

euler446();

Solution

// solution required