Files
freeCodeCamp/curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-110-diophantine-reciprocals-ii.md
Nicholas Carrigan (he/him) f25e3e69f8 feat: enable new langs (#42491)
Enable italian and portuguese
2021-06-15 13:19:18 +05:30

846 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f3db1000cf542c50feed Problem 110: Diophantine Reciprocals II 5 301735 problem-110-diophantine-reciprocals-ii

--description--

In the following equation x, y, and n are positive integers.

1/x + 1/y = 1/n

It can be verified that when n = 1260 there are 113 distinct solutions and this is the least value of n for which the total number of distinct solutions exceeds one hundred.

What is the least value of n for which the number of distinct solutions exceeds four million?

--hints--

diophantineTwo() should return 9350130049860600.

assert.strictEqual(diophantineTwo(), 9350130049860600);

--seed--

--seed-contents--

function diophantineTwo() {

  return true;
}

diophantineTwo();

--solutions--

// solution required