1018 B
1018 B
id | challengeType | videoUrl | localeTitle |
---|---|---|---|
5900f50f1000cf542c510021 | 5 | 问题418:三重分解 |
Description
将f(n)定义为n的因式分解三元组(a,b,c)的a + b + c,使c / a最小。 可以证明这一三元组是独特的。
例如,f(165)= 19,f(100100)= 142,f(20!)= 4034872。
查找f(43!)。
Instructions
Tests
tests:
- text: <code>euler418()</code>应该返回1177163565297340400。
testString: assert.strictEqual(euler418(), 1177163565297340400);
Challenge Seed
function euler418() {
// Good luck!
return true;
}
euler418();
Solution
// solution required
/section>