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

992 B

id challengeType title videoUrl localeTitle
5900f52c1000cf542c51003d 5 Problem 446: Retractions B Problema 446: Retracciones B

Description

Para cada entero n> 1, la familia de funciones fn, a, b está definida por fn, a, b (x) ≡ax + b mod n para a, b, x entero y 0

F (N) = ∑R (n4 + 4) para 1≤n≤N. F (1024) = 77532377300600.

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

Instructions

Tests

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

Challenge Seed

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

euler446();

Solution

// solution required