Files
freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-454-diophantine-reciprocals-iii.spanish.md
2018-10-11 02:15:05 +05:30

1.0 KiB

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f5331000cf542c510045 5 Problem 454: Diophantine reciprocals III Problema 454: Recíprocos diofánticos III

Description

En la siguiente ecuación, x, y y n son enteros positivos.

1x + 1y = 1n

Para un límite L definimos F (L) como el número de soluciones que satisfacen x <y ≤ L.

Podemos verificar que F (15) = 4 y F (1000) = 1069. Encuentre F (1012).

Instructions

Tests

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

Challenge Seed

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

euler454();

Solution

// solution required