freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-418-factorisation-t...

1018 B
Raw Blame History

id challengeType videoUrl localeTitle
5900f50f1000cf542c510021 5 问题418三重分解

Description

令n为正整数。 在以下情况下整数三元组abc称为n的分解三元组   a·b·c = n。

将fn定义为n的因式分解三元组abc的a + b + c使c / a最小。 可以证明这一三元组是独特的。

例如f165= 19f100100= 142f20= 4034872。

查找f43

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>