2018-10-10 18:03:03 -04:00
---
id: 5900f5331000cf542c510045
challengeType: 5
title: 'Problem 454: Diophantine reciprocals III'
2019-08-28 16:26:13 +03:00
forumTopicId: 302127
2018-10-10 18:03:03 -04:00
localeTitle: 'Задача 454: диофантовы обратные III'
---
## Description
2019-08-28 16:26:13 +03:00
< section id = 'description' >
В следующем уравнении x, y и n - целые положительные числа. < p > 1x + 1y = 1n < / p > < p > Для предела L определим F (L) как число решений, удовлетворяющих x < y ≤ L. < / p > < p > Мы можем проверить, что F (15) = 4 и F (1000) = 1069. Найти F (1012). < / p >
< / section >
2018-10-10 18:03:03 -04:00
## Instructions
2019-08-28 16:26:13 +03:00
< section id = 'instructions' >
2018-10-10 18:03:03 -04:00
< / section >
## Tests
< section id = 'tests' >
```yml
tests:
2019-08-28 16:26:13 +03:00
- text: < code > euler454()</ code > should return 5435004633092.
testString: assert.strictEqual(euler454(), 5435004633092);
2018-10-10 18:03:03 -04:00
```
< / section >
## Challenge Seed
< section id = 'challengeSeed' >
< div id = 'js-seed' >
```js
function euler454() {
// Good luck!
return true;
}
euler454();
```
< / div >
< / section >
## Solution
< section id = 'solution' >
```js
// solution required
```
2019-08-28 16:26:13 +03:00
2018-10-10 18:03:03 -04:00
< / section >