--- id: 5900f3d91000cf542c50feeb challengeType: 5 title: 'Problem 108: Diophantine Reciprocals I' videoUrl: '' localeTitle: 问题108:丢番图互惠I --- ## Description 在下面的等式中,x,y和n是正整数。 1 / x + 1 / y = 1 / n对于n = 4,恰好有三种不同的解:1/5 + 1/20 = 1/4 1/6 + 1/12 = 1/4 1/8 + 1/8 = 1/4不同解的数量超过一千的n的最小值是多少? ## Instructions ## Tests ```yml tests: - text: diophantineOne diophantineOne()应返回180180。 testString: 'assert.strictEqual(diophantineOne(), 180180, "diophantineOne() should return 180180.");' ``` ## Challenge Seed ```js function diophantineOne() { // Good luck! return true; } diophantineOne(); ``` ## Solution ```js // solution required ```
diophantineOne()